> > The problem is that the IRQ has to be cleared in kernel space, because
> > otherwise you may deadlock.
>
> It depends on device type. Good designed ones does not raises a new
> interrupt until an explicit acknowledge by I/O from [user space] driver
> will be received.
>
> Access to device's ports and IRQs from user space is subject
> of system admistration policy so direct access to a dangerous devices
> should not be allowed.
>
> Lastly an IRQ kernel module can disable_irq() from interrupt handler
> and enable it again only on explicit acknowledge from user.
Unless you need that interrupt to be enabled to deliver the signal or let
userspace reenable the interrupt.
In addition, how do you handle shared interrupts ?
Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Is it useful to support user level drivers Balbir Singh
- Re: Is it useful to support user level drivers Tim Waugh
- Re: Is it useful to support user level drivers Alan Cox
- Re: Is it useful to support user level drivers Balbir Singh
- Re: Is it useful to support user level dri... Alan Cox
- Re: Is it useful to support user level dri... Pavel Machek
- Re: Is it useful to support user level drivers Dmitry A. Fedorov
- Re: Is it useful to support user level dri... Oliver Neukum
- Re: Is it useful to support user level... Dmitry A. Fedorov
- Re: Is it useful to support user ... Oliver Neukum
- Re: Is it useful to support u... Dmitry A. Fedorov
- Re: Is it useful to suppo... Balbir Singh
- Re: Is it useful to support user ... Abramo Bagnara
- Re: Is it useful to support u... Alan Cox
- Re: Is it useful to suppo... Abramo Bagnara
- Re: Is it useful to suppo... Richard B. Johnson
- Re: Is it useful to suppo... Abramo Bagnara
- Re: Is it useful to suppo... Oliver Neukum

