7ccb4a6624
In some of the PPC970 based systems, interrupt would be distributed to offline cpus also even when booted with "maxcpus=1". So check whether cpu online map and cpu present map are equal or not. If they are equal default_distrib_server is used as interrupt server otherwise boot cpu (default_server) used as interrupt server. In addition to this, if an interrupt is assigned to a specific cpu (ie smp affinity) and if that cpu is not online, the earlier code used to return the default_distrib_server as interrupt server. This introduces an additional parameter to the get_irq function, called strict_check. Based on this parameter, if the cpu is not online either default_distrib_server or -1 is returned. Signed-off-by: Mohan Kumar M <mohan@in.ibm.com> Cc: Michael Ellerman <michael@ellerman.id.au> Acked-by: Milton Miller <miltonm@bga.com> Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
---|---|---|
.. | ||
eeh_cache.c | ||
eeh_driver.c | ||
eeh_event.c | ||
eeh_sysfs.c | ||
eeh.c | ||
firmware.c | ||
hotplug-cpu.c | ||
hvCall_inst.c | ||
hvCall.S | ||
hvconsole.c | ||
hvcserver.c | ||
iommu.c | ||
Kconfig | ||
kexec.c | ||
lpar.c | ||
Makefile | ||
msi.c | ||
nvram.c | ||
pci_dlpar.c | ||
pci.c | ||
plpar_wrappers.h | ||
power.c | ||
pseries.h | ||
ras.c | ||
reconfig.c | ||
rtasd.c | ||
scanlog.c | ||
setup.c | ||
smp.c | ||
xics.c | ||
xics.h |