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)
Sat, Nov 22, 2:10 AM
Unknown Object (File)
Thu, Nov 20, 8:32 PM
Unknown Object (File)
Tue, Nov 11, 4:36 PM
Unknown Object (File)
Mon, Nov 10, 3:55 AM
Unknown Object (File)
Tue, Nov 4, 10:52 AM
Unknown Object (File)
Oct 29 2025, 10:44 AM
Unknown Object (File)
Oct 29 2025, 8:01 AM
Unknown Object (File)
Oct 29 2025, 7:46 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