]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: default to reboot via ACPI
authorAvi Kivity <avi@qumranet.com>
Mon, 25 Aug 2008 10:11:27 +0000 (13:11 +0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 Aug 2008 10:31:32 +0000 (12:31 +0200)
commitc7ffa6c26277b403920e2255d10df849bd613380
treeeb28459e83c926a44451b2303d5bce42f21fd54c
parent83097aca8567a0bd593534853b71fe0fa9a75d69
x86: default to reboot via ACPI

Triple-fault and keyboard reset may assert INIT instead of RESET; however
INIT is blocked when Intel VT is enabled.  This leads to a partially reset
machine when invoking emergency_restart via sysrq-b: the processor is still
working but other parts of the system are dead.

Default to rebooting via ACPI, which correctly asserts RESET and reboots the
machine.

This is safe since we will fall back to keyboard reset and triple fault if
acpi is not enabled or if the reset is not successful.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/reboot.c