[PATCH] kdump: x86_64 kexec on panic
authorakpm@osdl.org <akpm@osdl.org>
Tue, 10 Jan 2006 04:51:48 +0000 (20:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:27 +0000 (08:01 -0800)
commitcffe632a25b017dac4b6f060cad31940c6c167b4
tree569cc877cdd035a469bec2a1b75b555313a257ca
parentaac04b32f3e4c63f461459d0e1d6aa01caac6e66
[PATCH] kdump: x86_64 kexec on panic

\r)

From: Vivek Goyal <vgoyal@in.ibm.com>

- Implementing the machine_crash_shutdown for x86_64 which will be called by
  crash_kexec (called in case of a panic, sysrq etc.).  Here we do things
  similar to i386.  Disable the interrupts, shootdown the cpus and shutdown
  LAPIC and IOAPIC.

Changes in this version:

- As the Eric's APIC initialization patches are reverted back, reintroducing
  LAPIC and IOAPIC shutdown.

- Added some comments on CPU hotplug, modified code as suggested by Andi
  kleen.

Signed-off-by: Murali M Chakravarthy <muralim@in.ibm.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/crash.c