Re: [PATCH] powerpc/irq: Fix another case of lazy IRQ state getting out of sync

2012-05-13 Thread Wang Sheng-Hui
On 2012年05月11日 10:12, Benjamin Herrenschmidt wrote: So we have another case of paca-irq_happened getting out of sync with the HW irq state. This can happen when a perfmon interrupt occurs while soft disabled, as it will return to a soft disabled but hard enabled context while leaving a stale

Re: [PATCH] powerpc/irq: Fix another case of lazy IRQ state getting out of sync

2012-05-11 Thread Sukadev Bhattiprolu
Benjamin Herrenschmidt [b...@kernel.crashing.org] wrote: | So we have another case of paca-irq_happened getting out of | sync with the HW irq state. This can happen when a perfmon | interrupt occurs while soft disabled, as it will return to a | soft disabled but hard enabled context while leaving

[PATCH] powerpc/irq: Fix another case of lazy IRQ state getting out of sync

2012-05-10 Thread Benjamin Herrenschmidt
So we have another case of paca-irq_happened getting out of sync with the HW irq state. This can happen when a perfmon interrupt occurs while soft disabled, as it will return to a soft disabled but hard enabled context while leaving a stale PACA_IRQ_HARD_DIS flag set. This patch fixes it, and