From: Benjamin Herrenschmidt Date: Wed, 5 Jul 2006 05:36:15 +0000 (+1000) Subject: [PATCH] powerpc: Fix loss of interrupts with MPIC X-Git-Tag: v2.6.18-rc1~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba1826e5eced176cc9ec0033ad8ee0f1cd5ad2e4;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed