linux/arch
Neil Horman cf52ebedba x86, kexec: fix hang on i386 when panic occurs while console_sem is held
There's a corner case in 32 bit x86 kdump at the moment.  When the box
panics via nmi, we call bust_spinlocks(1) to disable sensitivity to the
console_sem (allowing us to print to the console in all cases), but we don't
call crash_kexec, until after we call bust_spinlocks(0), which re-enables
console_sem sensitivity.

The result is that, if we get an nmi while the console_sem is held and
kdump is configured, and we try to print something to the console during
kdump shutdown (which we often do) we deadlock the box.  The fix is to
simply do what 64 bit die_nmi does which is to not call bust_spinlocks(0)
until after we call crash_kexec.

Patch below tested successfully by me.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-22 13:59:44 +02:00
..
alpha Merge branch 'genirq-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-20 13:23:01 -07:00
arm misc: replace remaining __FUNCTION__ with __func__ 2008-10-20 16:17:42 -07:00
avr32 Merge branch 'genirq-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-20 13:23:01 -07:00
blackfin container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
cris cris: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
frv container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
h8300 container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
ia64 PCI: Add ability to mmap legacy_io on some platforms 2008-10-20 11:01:46 -07:00
m32r Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-20 13:21:24 -07:00
m68k arch/m68k/bvme6000/rtc.c: remove duplicated include 2008-10-20 08:52:34 -07:00
m68knommu container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
mips mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
mn10300 mn10300: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
parisc Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 2008-10-20 14:40:31 -07:00
powerpc misc: replace remaining __FUNCTION__ with __func__ 2008-10-20 16:17:42 -07:00
s390 container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
sh Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2008-10-20 09:13:34 -07:00
sparc container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
sparc64 container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
um uml: fix a compile error 2008-10-20 08:52:34 -07:00
x86 x86, kexec: fix hang on i386 when panic occurs while console_sem is held 2008-10-22 13:59:44 +02:00
xtensa container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
.gitignore
Kconfig Kconfig: eliminate "def_bool n" constructs 2008-10-16 11:21:31 -07:00