]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] powerpc: Fix loss of interrupts with MPIC
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Jul 2006 05:36:15 +0000 (15:36 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 5 Jul 2006 16:29:43 +0000 (09:29 -0700)
commitba1826e5eced176cc9ec0033ad8ee0f1cd5ad2e4
tree56a9e6aab061bde5402ced7b7a875a01888b4e2c
parentca78f6baca863afe2e6a244a0fe94b3a70211d46
[PATCH] powerpc: Fix loss of interrupts with MPIC

With the new interrupt rework, an interrupt "host" map() callback can be
called after the interrupt is already active.

It's called again for an already mapped interrupt to allow changing the
trigger setup, and currently this is not guarded with a test of wether
the interrupt is requested or not.

I plan to change some of this logic to be a bit less lenient against
random reconfiguring of live interrupts but just not yet.

The ported MPIC driver has a bug where when that happens, it will mask
the interrupt.  This changes it to preserve the previous masking of the
interrupt instead.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/sysdev/mpic.c