android_kernel_xiaomi_sm8350/arch/ppc/kernel
Alexander Nyberg 6e274d1443 [PATCH] kdump: Use real pt_regs from exception
Makes kexec_crashdump() take a pt_regs * as an argument.  This allows to
get exact register state at the point of the crash.  If we come from direct
panic assertion NULL will be passed and the current registers saved before
crashdump.

This hooks into two places:
die(): check the conditions under which we will panic when calling
do_exit and go there directly with the pt_regs that caused the fatal
fault.

die_nmi(): If we receive an NMI lockup while in the kernel use the
pt_regs and go directly to crash_kexec(). We're probably nested up badly
at this point so this might be the only chance to escape with proper
information.

Signed-off-by: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 16:24:54 -07:00
..
align.c [PATCH] ppc32: Fix address checking on lmw/stmw align exception 2005-05-01 08:58:42 -07:00
asm-offsets.c
bitops.c
cpu_setup_6xx.S [PATCH] ppc32: Fix errata for some G3 CPUs 2005-05-01 08:58:40 -07:00
cpu_setup_power4.S
cputable.c [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
dma-mapping.c
entry.S [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
find_name.c
fpu.S [PATCH] ppc32: refactor FPU exception handling 2005-05-01 08:58:40 -07:00
head_4xx.S [PATCH] ppc32: fix CONFIG_TASK_SIZE handling on 40x 2005-06-21 18:46:24 -07:00
head_8xx.S
head_44x.S [PATCH] ppc32: fix CONFIG_TASK_SIZE handling on 44x 2005-05-20 15:48:19 -07:00
head_booke.h [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
head_fsl_booke.S [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
head.S [PATCH] ppc32: refactor FPU exception handling 2005-05-01 08:58:40 -07:00
idle_6xx.S
idle_power4.S
idle.c
irq.c
l2cr.S
machine_kexec.c [PATCH] kdump: Use real pt_regs from exception 2005-06-25 16:24:54 -07:00
Makefile [PATCH] kexec: kexec ppc support 2005-06-25 16:24:51 -07:00
misc.S [PATCH] kexec: kexec ppc support 2005-06-25 16:24:51 -07:00
module.c
pci.c [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
perfmon_fsl_booke.c
perfmon.c [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
ppc_htab.c
ppc_ksyms.c Add CONFIG_AUDITSC and CONFIG_SECCOMP support for ppc32 2005-05-08 15:56:09 +01:00
ppc-stub.c
process.c
ptrace.c Add CONFIG_AUDITSC and CONFIG_SECCOMP support for ppc32 2005-05-08 15:56:09 +01:00
relocate_kernel.S [PATCH] kexec: kexec ppc support 2005-06-25 16:24:51 -07:00
semaphore.c
setup.c [PATCH] ppc32: Kill embedded system.map, use kallsyms 2005-06-21 18:46:26 -07:00
signal.c [PATCH] ppc user annotations: debug_setconetext(2) 2005-04-25 07:55:59 -07:00
smp-tbsync.c
smp.c
softemu8xx.c
swsusp.S
syscalls.c
temp.c
time.c [PATCH] ppc32: fix compilation error in arch/ppc/kernel/time.c 2005-04-16 15:24:28 -07:00
traps.c [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
vecemu.c
vector.S
vmlinux.lds.S [PATCH] ppc32: platform-specific functions missing from kallsyms. 2005-05-05 16:36:31 -07:00