HomeFreeBSD

Always initialize PCPU kcr3 for vmspace0 pmap.

Description

Always initialize PCPU kcr3 for vmspace0 pmap.

If an exception or NMI occurs before CPU switched to a pmap different
from vmspace0, PCPU kcr3 is left zero for pti config, which causes
triple-fault in the handler.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
kibAuthored on
Parents
rS338111: [ig4] add ACPI Device HID for AMD platforms
Branches
Unknown
Tags
Unknown