[PATCH] Re: Level IRQ handling on Xilinx INTC with ARCH=powerpc

2008-08-08 Thread Sergey Temerkhanov
I've prepared the patch to fix the problem being discussed. It adds a field flags to struct irq_chip. If IRQ_CHIP_UNMASK_ACK is set in this field, acknowledge is performed before unmasking. The patch is against 2.6.26 diff -r 6b0915754563 arch/powerpc/sysdev/xilinx_intc.c --- a/arch/powerpc/sysd

Re: Level IRQ handling on Xilinx INTC with ARCH=powerpc

2008-07-29 Thread Benjamin Herrenschmidt
On Tue, 2008-07-29 at 15:14 +0100, David Howells wrote: > Sergey Temerkhanov <[EMAIL PROTECTED]> wrote: > > > And handle_level_irq() which is currently used as high-level IRQ handler for > > Xilinx INTC only tries to acknowledge IRQ before ISR call. So that the IRQ > > remains asserted in INTC and

Re: Level IRQ handling on Xilinx INTC with ARCH=powerpc

2008-07-29 Thread David Howells
Sergey Temerkhanov <[EMAIL PROTECTED]> wrote: > And handle_level_irq() which is currently used as high-level IRQ handler for > Xilinx INTC only tries to acknowledge IRQ before ISR call. So that the IRQ > remains asserted in INTC and after the call to desc->chip->unmask() causes > spurious attempt