[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 3 Mar 2009 12:19:03 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
David Brownell <david-b@...bell.net>,
Andrew Morton <akpm@...ux-foundation.org>, me@...ipebalbi.com,
linux-kernel@...r.kernel.org, linux-input@...r.kernel.org,
felipe.balbi@...ia.com, dmitry.torokhov@...il.com,
sameo@...nedhand.com, tglx@...utronix.de
Subject: Re: lockdep and threaded IRQs (was: ...)
* Ingo Molnar <mingo@...e.hu> wrote:
>
> * Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
>
> > > _without_ IRQF_ENABLED: where an IRQ handler can take a long
> > > time to execute, the handler can be converted to a threaded
> > > IRQ handler - where it's fine to enable IRQs as there are no
> > > stack nesting issues.
> >
> > Only if you can mask the interrupt on the APIC without
> > losing it or having the APIC throw a fit.
>
> Hm, that reads like the boot IRQ erratas of certain chipsets -
> the APIC could throw a fit essentially locking up the system.
> FYI, we have fixes for that upstream already.
>
> Do you have any description about that problem, which hardware
> it affects, whether it's manufactured today and any (ballpark
> figure) estimation about the Linux installed base on it? Can
> they live with the quirk flag?
btw., i definitely do not say that threaded IRQ handlers will
work in each an every case (it changes the hardware programming
pattern and as such it can bring out new erratas) so i
definitely agree with the argument that the conversion has to be
careful and case by case.
The plan Peter outlined looks sane. In case you worry about a
forced removal of irq-enable - you should not.
Ingo
--
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