Re: [RFC PATCH 11/19] powerpc: gamecube/wii: flipper interrupt controller support
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-11-27 21:34:55
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-11-27 21:34:55
On Fri, 2009-11-27 at 18:27 +0100, Albert Herranz wrote:
I checked it too on the Nintendo GameCube making the ack a no-op. It turns out that we _need_ to ack the RSW (Reset Switch) interrupt. The other interrupt sources checked (EXI, VI, DI, AI, DSP/ARAM) need no explicit ack.
That would probably mean that the reset switch interrupt is an edge interrupt. Which means that you also use the wrong flow handler btw :-) No biggie here tho, if it's acked before the handler is called, which should be the case, and if masking it doesn't prevent the edge detector from latching, then it should be allright. But you may want to make sure you don't have another edge irq somewhere in there... Cheers, Ben.