lkml.org 
[lkml]   [2009]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lockdep and threaded IRQs (was: ...)

* Ingo Molnar <mingo@elte.hu> wrote:

>
> * Alan Cox <alan@lxorguk.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


\
 
 \ /
  Last update: 2009-03-03 12:23    [W:0.281 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site