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)
Mon, Aug 10, 5:06 PM
Unknown Object (File)
Sat, Aug 8, 6:07 PM
Unknown Object (File)
Sat, Aug 8, 3:06 PM
Unknown Object (File)
Thu, Aug 6, 2:20 PM
Unknown Object (File)
Fri, Jul 31, 12:18 AM
Unknown Object (File)
Mon, Jul 27, 12:04 AM
Unknown Object (File)
Sat, Jul 25, 1:06 PM
Unknown Object (File)
Wed, Jul 22, 7:47 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