1
linux/arch/powerpc
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
..
configs [PATCH] ppc64: Update g5_defconfig for ARCH=powerpc 2005-11-08 11:17:50 +11:00
kernel [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
oprofile [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
platforms [PATCH] powerpc: Turn cpu_irq_down into kexec_cpu_down 2005-11-14 16:33:09 +11:00
sysdev [PATCH] powerpc: 64k pages vs. U3 iommu 2005-11-10 15:03:37 +11:00
xmon [PATCH] powerpc-xmon-build-fix 2005-11-13 18:14:13 -08:00
Kconfig [PATCH] ppc64: Convert NUMA to sparsemem (3) 2005-11-11 22:21:11 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile powerpc: Set entry point and text address in linker script 2005-11-03 16:03:06 +11:00