kernel-ark/arch/x86_64/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
..
acpi
cpufreq
aperture.c
apic.c [PATCH] kexec: x86_64: restore apic virtual wire mode on shutdown 2005-06-25 16:24:47 -07:00
asm-offsets.c
crash.c [PATCH] kdump: Use real pt_regs from exception 2005-06-25 16:24:54 -07:00
e820.c [PATCH] crashdump: x86_64: crashkernel option 2005-06-25 16:24:50 -07:00
early_printk.c
entry.S
genapic_cluster.c
genapic_flat.c
genapic.c
head64.c
head.S [PATCH] kexec: x86_64: add CONFIG_PHYSICAL_START 2005-06-25 16:24:48 -07:00
i387.c
i8259.c [PATCH] kexec: x86_64: add i8259 shutdown method 2005-06-25 16:24:46 -07:00
init_task.c
io_apic.c [PATCH] kexec: x86_64: restore apic virtual wire mode on shutdown 2005-06-25 16:24:47 -07:00
ioport.c
irq.c
kprobes.c
ldt.c
machine_kexec.c [PATCH] kexec: x86_64 kexec implementation 2005-06-25 16:24:50 -07:00
Makefile [PATCH] kexec: x86_64 kexec implementation 2005-06-25 16:24:50 -07:00
mce_intel.c
mce.c [PATCH] RCU: clean up a few remaining synchronize_kernel() calls 2005-06-25 16:24:38 -07:00
module.c
mpparse.c
msr.c
nmi.c
pci-dma.c
pci-gart.c
pci-nommu.c
pmtimer.c
process.c
ptrace.c
reboot.c [PATCH] kexec: x86_64: factor out apic shutdown code 2005-06-25 16:24:50 -07:00
relocate_kernel.S [PATCH] kexec: x86_64 kexec implementation 2005-06-25 16:24:50 -07:00
semaphore.c
setup64.c
setup.c [PATCH] crashdump: x86_64: crashkernel option 2005-06-25 16:24:50 -07:00
signal.c
smp.c
smpboot.c
suspend_asm.S
suspend.c
sys_x86_64.c
syscall.c
time.c
trampoline.S
traps.c
vmlinux.lds.S [PATCH] kexec: x86_64: vmlinux: fix physical addresses 2005-06-25 16:24:47 -07:00
vsyscall.c
x8664_ksyms.c