]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] kexec: x86 shutdown APICs during crash_shutdown
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 25 Jun 2005 21:58:00 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:50 +0000 (16:24 -0700)
commit63d30298efc387c72557d11e2a7b467554c05a64
tree04516446aae4e1e47e6d2f8c63e84a4c02bddeaf
parent2c818b45a202b8f632b4031edcba8599efda42b7
[PATCH] kexec: x86 shutdown APICs during crash_shutdown

In the case of a crash/panic an architecture specific function
machine_crash_shutdown is called.  This patch adds to the x86 machine_crash
function the standard kernel code for shutting down apics.

Every line of code added to that function increases the risk that we will call
code after a kernel panic that is not safe.

This patch should not make it to the stable kernel without a being reviewed a
lot more.  It is unclear how much a hardned kernel can take when it comes to
misconfigured apics.  So since a normal kernel has problems this patch does a
clean shutdown.

It is my expectation this patch will be dropped from future generations of the
kexec work.  But for the moment it is a crutch to keep from breaking
everything.

Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/crash.c