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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bitops.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu_setup_6xx.S [PATCH] ppc32: Fix errata for some G3 CPUs 2005-05-01 08:58:40 -07:00
cpu_setup_power4.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cputable.c [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
dma-mapping.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry.S [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
find_name.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idle_power4.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idle.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
l2cr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.c [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
perfmon_fsl_booke.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
perfmon.c [PATCH] ppc32: Add support for Freescale e200 (Book-E) core 2005-06-25 16:24:26 -07:00
ppc_htab.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_ksyms.c Add CONFIG_AUDITSC and CONFIG_SECCOMP support for ppc32 2005-05-08 15:56:09 +01:00
ppc-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softemu8xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
swsusp.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syscalls.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
temp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vector.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmlinux.lds.S [PATCH] ppc32: platform-specific functions missing from kallsyms. 2005-05-05 16:36:31 -07:00