[PATCH 0/2][RT] powerpc - fix bug in irq reverse mapping radix tree (Resend)

2008-07-24 Thread Sebastien Dugue
(This is resend as vger dropped my previous attempt, sorry for the duplication) Hi, here are 2 patches for fixing the following bug occuring on IBM pSeries under an RT kernel: BUG: sleeping function called from invalid context swapper(1) at kernel/rtmutex.c:739 in_atomic():1 [0002],

Re: [PATCH 0/2][RT] powerpc - fix bug in irq reverse mapping radix tree

2008-07-24 Thread Sebastien Dugue
On Thu, 24 Jul 2008 08:17:38 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: The root cause of this bug lies in the fact that the XICS interrupt controller uses a radix tree for its reverse irq mapping and that we cannot allocate the tree nodes (even GFP_ATOMIC) with

[PATCH 0/2][RT] powerpc - fix bug in irq reverse mapping radix tree

2008-07-23 Thread Sebastien Dugue
Hi, here are 2 patches for fixing the following bug occuring on IBM pSeries under an RT kernel: BUG: sleeping function called from invalid context swapper(1) at kernel/rtmutex.c:739 in_atomic():1 [0002], irqs_disabled():1 Call Trace: [c001e20f3340] [c0010370]

Re: [PATCH 0/2][RT] powerpc - fix bug in irq reverse mapping radix tree

2008-07-23 Thread Benjamin Herrenschmidt
The root cause of this bug lies in the fact that the XICS interrupt controller uses a radix tree for its reverse irq mapping and that we cannot allocate the tree nodes (even GFP_ATOMIC) with preemption disabled. Is that yet another caes of -rt changing some basic kernel semantics ?