linux_dsm_epyc7002/arch/ppc64
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
..
boot [PATCH] ppc64 boot: fix compile warnings 2005-11-10 11:26:01 +11:00
configs [PATCH] ppc64: update defconfigs 2005-10-19 23:12:36 -07:00
kernel [PATCH] powerpc: Turn cpu_irq_down into kexec_cpu_down 2005-11-14 16:33:09 +11:00
xmon powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
defconfig [PATCH] ppc64: compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig 2005-10-29 15:14:44 +10:00
Kconfig [PATCH] ppc64: Convert NUMA to sparsemem (3) 2005-11-11 22:21:11 +11:00
Kconfig.debug [PATCH] powerpc: Kill ppcdebug 2005-11-07 12:37:45 +11:00
Makefile powerpc: fix __strnlen_user in merge tree 2005-11-01 14:34:17 +11:00