Re: threaded interrupt handlers: what if hardirq part not disables device interrupt?
From: Peter Zijlstra <peterz@infradead.org>
Date: 2011-08-01 12:40:02
Also in:
lkml
From: Peter Zijlstra <peterz@infradead.org>
Date: 2011-08-01 12:40:02
Also in:
lkml
On Sun, 2011-07-31 at 16:15 +0200, Remy Bohmer wrote:
As alternative solution I can do the following as well: The driver now has a tasklet used for processing the queue. If I add IRQF_NO_THREAD as irq-flag, the thread is not created and the handler runs completely in hard-irq context. This seems to work okay, but it does not feel as the right solution. How is this supposed to work? Do you have better ideas how to solve situations like this?
This sounds like the total trainwreck known as tty/console, I believe jwessel and tglx had some ideas on that. Maybe Jason can share what he knows, I'm not up to speed on that issue.