Re: Ingo's realtime_preempt patch causes kernel oops

From: Thomas Gleixner
Date: Wed May 24 2006 - 03:40:55 EST


On Tue, 2006-05-23 at 09:38 -0700, Daniel Walker wrote:
> On Tue, 2006-05-23 at 18:24 +0200, Yann.LEPROVOST@xxxxxxxxxx wrote:
> > Yeah that's it , I tested with SA_NODELAY and oops disappears, kernel
> > doesn't freeze !!
> >
> > However, the IRQ 1 line is shared between many peripherals in the
> > AT91RM9200...
> > IRQ 1 is the system interrupt.
> >
> > From AT91RM9200 datasheet :
> >
> > "The System Interrupt is the wired-OR of the interrupt signals coming from:
> > â the Memory Controller
> > â the Debug Unit
> > â the System Timer
> > â the Real-Time Clock
> > â the Power Management Controller"
> >
>
> You might have some more issues , cause if you share an SA_NODELAY
> handler every handler on that interrupt line becomes an SA_NODELAY
> handler .. So you'll have to go make sure non of those other handlers
> lock spinlock_t types ..

The best solution is probably a demultiplex handler.

tglx


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