lkml.org 
[lkml]   [1999]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Handling interrupts from userspace
Date
From
> Just because PCI cards might be sharing interrupt lines or is there
> any other reason?

On the x86 because the interrupt may be shared. There are other platforms
with interrupt sources that are not disableable - so you cannot return
to user space until the IRQ is cleared - or you get another IRQ. Thankfully
that bogosity is rare.

> > The card is on IRQ 9 you disable IRQ 9 you return to user space. IRQ 9 is shared with the
> > disk. You do a disk I/O. Goodbye computer
>
> It's true you can't do shared interrupts with my driver. But it'll
> never try that: It requests the interrupt without SA_SHIRQ so your
> scenario could never happen. You just get -EBUSY when you open the
> device and the interrupt happens to be in use.

Nod


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.049 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site