[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080702121153.4d464885@lxorguk.ukuu.org.uk>
Date: Wed, 2 Jul 2008 12:11:53 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Magnus Damm <magnus.damm@...il.com>
Cc: linux-kernel@...r.kernel.org, Uwe.Kleine-Koenig@...i.com,
gregkh@...e.de, akpm@...ux-foundation.org, hjk@...utronix.de,
lethal@...ux-sh.org, Magnus Damm <magnus.damm@...il.com>,
tglx@...utronix.de
Subject: Re: [PATCH] uio: User IRQ Mode
On Wed, 02 Jul 2008 19:59:51 +0900
Magnus Damm <magnus.damm@...il.com> wrote:
> From: Uwe Kleine-König <Uwe.Kleine-Koenig@...i.com>
>
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists