android_kernel_xiaomi_sm8350/arch/ppc64/kernel
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
..
align.c [PATCH] powerpc: Fix handling of fpscr on 64-bit 2005-10-27 20:48:50 +10:00
asm-offsets.c [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
btext.c ppc64: Rearrange btext initialization for consistency with ppc32 2005-10-22 15:36:52 +10:00
dma.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
head.S [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
hvconsole.c
hvcserver.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
idle.c [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
iomap.c
iommu.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
kprobes.c [PATCH] Kprobes: preempt_disable/enable() simplification 2005-11-07 07:53:46 -08:00
machine_kexec.c [PATCH] powerpc: Turn cpu_irq_down into kexec_cpu_down 2005-11-14 16:33:09 +11:00
Makefile [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
misc.S [PATCH] ppc64: Cleanup kprobe assembly 2005-11-11 22:20:07 +11:00
module.c [PATCH] ppc64: Add R_PPC64_TOC16 module reloc 2005-10-11 09:46:54 -07:00
nvram.c [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
pci_direct_iommu.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
pci_dn.c [PATCH] ppc64: bugfix: crash on PCI hotplug 2005-11-10 11:35:27 +11:00
pci_iommu.c powerpc: move iSeries/iSeries_pci.h to platforms/iseries 2005-10-14 14:51:42 +10:00
pci.c powerpc: fix iSeries build 2005-11-10 16:07:12 +11:00
ppc_ksyms.c powerpc: move more iSeries code 2005-09-28 13:28:01 +10:00
prom_init.c [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
prom.c [PATCH] tpm: necessary PPC64 function exports 2005-11-13 18:14:17 -08:00
rtc.c powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
semaphore.c
vdso.c [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
vmlinux.lds.S powerpc: Reduce the 32/64-bit diffs in vmlinux.lds.S 2005-10-10 22:38:46 +10:00