Re: [PATCH 1/3] X86: Revamp reboot behaviour to match Windows moreclosely

From: Matthew Garrett
Date: Thu Dec 09 2010 - 17:32:18 EST


On Thu, Dec 09, 2010 at 02:25:05PM -0800, H. Peter Anvin wrote:
> On 12/09/2010 01:46 PM, Matthew Garrett wrote:
>> Windows reboots by hitting the ACPI reboot vector (if available), trying
>> the keyboard controller, hitting the ACPI reboot vector again and then
>> giving the keyboard controller one last go. Rework our reboot process a
>> little to default to matching this behaviour, although we'll fall through
>> to attempting a triple fault if nothing else works.
>>
>> Signed-off-by: Matthew Garrett<mjg@xxxxxxxxxx>
>
> When this was discussed before we agreed to use ACPI reboot by default
> with an ACPI cutoff date; this doesn't have any such cutoff.

Windows doesn't either. Older machines simply won't have the appropriate
flag set in their FADT.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/