linux/arch/powerpc/platforms
Michael Ellerman c5e24354ef [PATCH] powerpc: Turn cpu_irq_down into kexec_cpu_down
We currently have a ppc_md member called cpu_irq_down, which disables IRQs
for the cpu in question. The only caller of cpu_irq_down is the kexec code.

On pSeries we need to do more than just teardown IRQs at kexec time, so rename
the ppc_md member to kexec_cpu_down and expand it. The pSeries code needs to
know, and other platforms might too, whether we're doing a crash shutdown (ie.
panicking) or a regular kexec, so add a flag for that.

The pSeries implementation of kexec_cpu_down does an unregister VPA call, which
tells the Hypervisor to stop writing stuff into our pacas. Without this we can
get weird memory corruption bugs when we kexec, caused by the Hypervisor
writing into the first kernel's pacas which happens to be somewhere interesting
in the second kernel's memory.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-11-14 16:33:09 +11:00
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
85xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [PATCH] powerpc: move arch/ppc64/kernel/bpa* to arch/powerpc/platforms/cell 2005-11-01 21:03:07 +11:00
chrp ppc/powerpc: workarounds for old Open Firmware versions 2005-11-10 12:00:55 +11:00
embedded6xx powerpc: Merge i8259.c into arch/powerpc/sysdev 2005-10-26 16:47:42 +10:00
iseries Merge git://oak/home/sfr/kernels/iseries/work 2005-11-10 15:54:00 +11:00
maple [PATCH] ppc64: fix PCI IO mapping 2005-11-10 15:32:37 +11:00
powermac [PATCH] ppc64: fix PCI IO mapping 2005-11-10 15:32:37 +11:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [PATCH] powerpc: Turn cpu_irq_down into kexec_cpu_down 2005-11-14 16:33:09 +11:00
Makefile [PATCH] powerpc: create a new arch/powerpc/platforms/cell/smp.c 2005-11-01 21:02:53 +11:00