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

Matthew Garrett
2010-12-09T22:32:12Z

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@redhat.com>
>
> 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@srcf.ucam.org