alistair23-linux/arch/powerpc/platforms/pseries
Mohan Kumar M a5715d6dfc [POWERPC] pSeries/kexec: Fix for interrupt distribution
This allows any secondary CPU thread also to become boot cpu for
POWER5.  The patch is required to solve kdump boot issue when the
kdump kernel is booted with parameter "maxcpus=1".  XICS init code
tries to match the current boot cpu id with "reg" property in each CPU
node in the device tree.  But CPU node is created only for primary
thread CPU ids and "reg" property only reflects primary CPU ids.  So
when a kernel is booted on a secondary cpu thread above condition will
never meet and the default distribution server is left as zero.  This
leads to route the interrupts to CPU 0, but which is not online at
this time.

We use ibm,ppc-interrupt-server#s to check for both primary and
secondary CPU ids.  Accordingly default distribution server value is
initialized from "ibm,ppc-interrupt-gserver#s" property.  We loop
through ibm,ppc-interrupt-gserver#s property to find the global
distribution server from the last entry that matches with boot cpuid.

Signed-off-by: Mohan Kumar M <mohan@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 20:41:22 +11:00
..
eeh.c [POWERPC] EEH failure to mark pci slot as frozen. 2006-09-26 15:41:03 +10:00
eeh_cache.c [POWERPC] EEH: balance pcidev_get/put calls 2006-09-21 22:59:08 +10:00
eeh_driver.c [POWERPC] EEH: support MMIO enable recovery step 2006-09-21 22:59:20 +10:00
eeh_event.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
firmware.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
firmware.h
hvCall.S [POWERPC] powerpc: Instrument Hypervisor Calls 2006-09-13 18:39:53 +10:00
hvCall_inst.c [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private 2006-09-27 08:26:17 -07:00
hvconsole.c [POWERPC] clean up pseries hcall interfaces 2006-08-01 16:19:15 +10:00
hvcserver.c [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS 2006-04-01 22:36:57 +11:00
iommu.c [POWERPC] Refactor 64 bits DMA operations 2006-12-04 20:38:40 +11:00
Kconfig powerpc: Disallow lparcfg being a module 2006-03-14 11:35:37 +11:00
lpar.c [POWERPC] Make pSeries_lpar_hpte_insert static 2006-10-16 16:33:04 +10:00
Makefile [POWERPC] powerpc: Instrument Hypervisor Calls 2006-09-13 18:39:53 +10:00
nvram.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
pci.c [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
pci_dlpar.c [POWERPC] Generic OF platform driver for PCI host bridges. 2006-12-04 20:38:49 +11:00
plpar_wrappers.h [POWERPC] Implement SLB shadow buffer 2006-08-08 17:08:56 +10:00
ras.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ras.h
reconfig.c Merge ../linux-2.6 2006-03-29 13:24:50 +11:00
rtasd.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
scanlog.c [POWERPC] RTAS delay, fix module build breaks 2006-06-21 15:01:27 +10:00
setup.c [POWERPC] Wrap cpu_die() with CONFIG_HOTPLUG_CPU 2006-12-04 20:39:29 +11:00
smp.c [POWERPC] Cleanup CPU inits 2006-08-25 13:27:35 +10:00
xics.c [POWERPC] pSeries/kexec: Fix for interrupt distribution 2006-12-04 20:41:22 +11:00
xics.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00