From: Jeremy Kerr Date: Fri, 4 Apr 2008 06:55:28 +0000 (+1100) Subject: [POWERPC] cell: Fix lost interrupts due to fasteoi handler X-Git-Tag: v2.6.26-rc2~16^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5711fe900dfef8d9afdbbb6d0f9c9720919d1d66;p=pandora-kernel.git [POWERPC] cell: Fix lost interrupts due to fasteoi handler We may currently lose interrupts during SPE context switch, as we alter the INT_Route register. Because the IIC uses a per-thread priority status, changing the interrupt routing to a different thread means that the IRQ is no longer masked by the priority status, so we end up with two fasteoi IRQ handlers executing for the one irq_desc. The fasteoi handler doesn't handle multiple IRQs, so drops the second one. Fix this by using our own flow handler. This is based on handle_edge_irq, but issues an eoi after IRQs are handled, and doesn't do any mask/unmasking. Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed