[POWERPC] pasemi: Distribute interrupts evenly across cpus
authorOlof Johansson <olof@lixom.net>
Fri, 28 Dec 2007 04:16:29 +0000 (22:16 -0600)
committerOlof Johansson <olof@lixom.net>
Fri, 28 Dec 2007 15:22:25 +0000 (09:22 -0600)
commitd87bf3bed71375b141e95b5fdbac413ac4b65184
tree4920be669338029456f625e6f6a587b8e31185b0
parentf365355e65ee619e3b7baeca69b46fd2c4a5ec68
[POWERPC] pasemi: Distribute interrupts evenly across cpus

By default the OpenPIC on PWRficient will bias to one core (since that
will improve changes of the other core being able to stay idle/powered
down). However, this conflicts with most irq load balancing schemes,
since setting an interrupt to be delivered to either core doesn't really
result in the load being shared. It also doesn't work well with the
soft irq disable feature of PPC, since EE will stay on until the first
interrupt is taken while soft disabled.

Set the gconf0 config bit that enables even distribution of interrupts
among the two cores.

Signed-off-by: Olof Johansson <olof@lixom.net>
arch/powerpc/platforms/pasemi/setup.c
arch/powerpc/sysdev/mpic.c
include/asm-powerpc/mpic.h