HomeFreeBSD

More accurately handle early EFER restoration on resume.

Description

More accurately handle early EFER restoration on resume.

Do not try to set LMA bit while CPU is still in legacy mode.
Apparently Intel CPUs ignore non-id writes to LMA, while AMD's
(over-)react with #GP.

Reported and tested by: danfe
Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
kibAuthored on
Parents
rS319824: Tidy up minor nits raised by mandoc lint:
Branches
Unknown
Tags
Unknown