android_kernel_xiaomi_sm7250/arch/s390/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
..
asm-offsets.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
binfmt_elf32.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bitmap.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_exec_domain.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_ioctl.c [PATCH] s390: #ifdefs in compat_ioctls 2005-06-21 19:07:33 -07:00
compat_linux.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_linux.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compat_ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_signal.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_wrapper.S [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
cpcmd.c [PATCH] s390: add vmcp interface 2005-06-25 16:24:37 -07:00
crash.c [PATCH] kdump: Use real pt_regs from exception 2005-06-25 16:24:54 -07:00
debug.c [PATCH] s390: debug feature changes 2005-06-25 16:24:37 -07:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry64.S [PATCH] s390: improved machine check handling 2005-06-25 16:24:37 -07:00
entry.S [PATCH] s390: improved machine check handling 2005-06-25 16:24:37 -07:00
head64.S [PATCH] s390: pending interrupt after ipl from reader 2005-06-21 19:07:34 -07:00
head.S [PATCH] s390: pending interrupt after ipl from reader 2005-06-21 19:07:34 -07:00
init_task.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
machine_kexec.c [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
Makefile [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process.c [PATCH] s390: improved machine check handling 2005-06-25 16:24:37 -07:00
profile.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.c [PATCH] s390: uml ptrace fixes 2005-06-04 17:13:00 -07:00
reipl64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reipl.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
relocate_kernel64.S [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
relocate_kernel.S [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
s390_ext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s390_ksyms.c [PATCH] s390: default storage key 2005-05-01 08:58:58 -07:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] s390: add vmcp interface 2005-06-25 16:24:37 -07:00
signal.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.c [PATCH] s390: add vmcp interface 2005-06-25 16:24:37 -07:00
sys_s390.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syscalls.S [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
time.c [PATCH] s390: idle timer setup 2005-05-01 08:58:57 -07:00
traps.c [PATCH] s390: add vmcp interface 2005-06-25 16:24:37 -07:00
vmlinux.lds.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vtime.c [PATCH] s390: idle timer setup 2005-05-01 08:58:57 -07:00