NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/38587 CVS commit: src/sys/arch/amd64/acpi

The following reply was made to PR port-amd64/38587; it has been noted by GNATS.

From: Joerg Sonnenberger <>
Subject: PR/38587 CVS commit: src/sys/arch/amd64/acpi
Date: Sun, 25 May 2008 17:20:29 +0000 (UTC)

 Module Name:   src
 Committed By:  joerg
 Date:          Sun May 25 17:20:29 UTC 2008
 Modified Files:
        src/sys/arch/amd64/acpi: acpi_wakecode.S
 Log Message:
 Random underdocumented CPU facts:
 AMD K8 and newer will trap when enabling the NX support outside PAE
 paging mode. The AMD64 wake code was restoring the MSR EFER to switch to
 Long Mode and naturally didn't have paging enabled at that point.
 While this works fine with Intel CPUs, it resulted in an immediate
 reboot with AMD processors.
 Fixed by a joint brain storming session of jmcneill@, cegger@ and
 myself, based on some input from the hardware developers.  This fixes
 PR 38587.
 To generate a diff of this commit:
 cvs rdiff -r1.6 -r1.7 src/sys/arch/amd64/acpi/acpi_wakecode.S
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index