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)
Thu, May 14, 12:43 PM
Unknown Object (File)
Wed, May 13, 9:22 PM
Unknown Object (File)
Wed, May 13, 9:12 PM
Unknown Object (File)
Sun, May 10, 6:49 AM
Unknown Object (File)
Sat, May 9, 6:33 PM
Unknown Object (File)
Thu, Apr 23, 3:19 AM
Unknown Object (File)
Wed, Apr 22, 9:07 PM
Unknown Object (File)
Fri, Apr 17, 10:44 PM
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