Re: lockdep and threaded IRQs (was: ...)

David Brownell
2009-03-02T23:42:38Z

On Monday 02 March 2009, Ingo Molnar wrote:
> If you want to work on genirq threaded IRQ handlers them please
> check out and test the threaded IRQ handlers patches that are
> being worked on at lkml. See:
>
> [patch 0/4] genirq: add infrastructure for threaded interrupt handlers V2

I did check them out, as noted earlier in this thread.

The significant omission is lack of support for chaining
such threads. Example, an I2C device that exposes
several dozen IRQs with mask/ack/... operations that
require I2C access.

I'm not sure what Thomas intends to do with that issue,
if anything. It does touch on messy bits of genirq.

Those V2 patches do look to handle simple cases well,
of the flavor that's often handled today by creating
a singlethreaded workqueue in the driver. I think
it's good to have such support, but that's not enough
to handle the hardware I've come across.

- Dave