Page MenuHomeFreeBSD

arm64: disable the EL2 MMU in early boot
ClosedPublic

Authored by kevans on Mar 23 2022, 3:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 1:50 AM
Unknown Object (File)
Nov 22 2025, 2:10 AM
Unknown Object (File)
Nov 20 2025, 8:32 PM
Unknown Object (File)
Nov 11 2025, 4:36 PM
Unknown Object (File)
Nov 10 2025, 3:55 AM
Unknown Object (File)
Nov 4 2025, 10:52 AM
Unknown Object (File)
Oct 29 2025, 10:44 AM
Unknown Object (File)
Oct 29 2025, 8:01 AM
Subscribers

Details

Summary

An earlier stage may have set HCR_EL2.E2H, the clearing of which may
break address translation. We don't need the EL2 MMU at this point, so
we can avoid re-enabling it for now and just drop to EL1 as usual.

Author: andrew
Tested by: kevans

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable