Re: [PATCH] uio: User IRQ Mode



On Wed, 02 Jul 2008 19:59:51 +0900
Magnus Damm <magnus.damm@xxxxxxxxx> wrote:

From: Uwe Kleine-König <Uwe.Kleine-Koenig@xxxxxxxx>

This patch adds a "User IRQ Mode" to UIO. In this mode the user space driver
is responsible for acknowledging and re-enabling the interrupt.
Shared interrupts are not supported by this mode.

This doesn't work even for some non shared interrupts.

If I take a level triggered interrupt then the IRQ handler code must
clear the IRQ before the line can be unmasked.

It might work for edge triggered providing you don't get too many edges
before you respond (in which case we will decide its a stuck IRQ and turn
it off for good).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)
    ... >> I can see there'd be problems if the code allowed shared interrupts, ... > write a small IRQ helper module for the kernel or extend the syntax I ... the supervisor so that the supervisor could cut off the IRQ if the ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts
    ... For shared interrupts IRQF_DISABLED will only take effect if the first ... For a shared IRQ, I would rather think that if any IRQ was flagged ... Seems like this patch ... I don't think you should need that flag; and if you did, ...
    (Linux-Kernel)
  • Re: [PATCH] uio: User IRQ Mode
    ... This patch adds a "User IRQ Mode" to UIO. ... This doesn't work even for some non shared interrupts. ... Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany ...
    (Linux-Kernel)
  • Re: irq to sysint
    ... Due to the possibility of shared interrupts the mapping of IRQ to sysintrs ...
    (microsoft.public.windowsce.platbuilder)