]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/mpic: Create a revmap with enough entries for IPIs and timers
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Jul 2012 16:45:43 +0000 (16:45 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Jul 2012 04:20:42 +0000 (14:20 +1000)
commit574ce79cea9d3fda109ffcc82f81733de4740e5c
tree068785ce02361f5c7387046d976304e7ca6d8570
parent668fcb6972177489bdc01a66d697c3b494aa8a24
powerpc/mpic: Create a revmap with enough entries for IPIs and timers

The current mpic code creates a linear revmap just big enough for all
the sources, which happens to miss the IPIs and timers on some machines.

This will in turn break when the irqdomain code loses the fallback of
doing a linear search when the revmap fails (and really slows down IPIs
otherwise).

This happens for example on the U4 based Apple machines such as the
dual core PowerMac G5s.

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