Re: better leve triggered IRQ management needed

From: Arjan van de Ven
Date: Mon Apr 24 2006 - 15:53:24 EST


On Mon, 2006-04-24 at 12:08 -0700, Linus Torvalds wrote:
>
> On Mon, 24 Apr 2006, Linus Torvalds wrote:
> >
> > You can get an edge by having your driver make sure that it clears the
> > interrupt source at some point where it requires an edge.
>
> Btw, this is why we do end up saying that having _two_ devices share
> an edge-triggered setup really is something we cannot necessarily
> fix. That said, it is better to limp along and work as well as you can
> than to just throw up your hands.

we now have that neat polling thing Alan did for interrupts (but which
is optional). To limp along better the kernel could auto-enable that for
any such shared interrupt automatically as a "safe fallback"...
(or heck, if things are this broken, you probably want it for all
interrupts at that point just to be sure)

-
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/