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
F132272009: D34644.id104114.diff
Wed, Oct 15, 9:37 AM
Unknown Object (File)
Tue, Oct 14, 10:55 PM
Unknown Object (File)
Tue, Oct 14, 10:55 PM
Unknown Object (File)
Tue, Oct 14, 2:05 PM
Unknown Object (File)
Tue, Oct 14, 5:54 AM
Unknown Object (File)
Sun, Oct 12, 12:57 PM
Unknown Object (File)
Mon, Oct 6, 11:40 PM
Unknown Object (File)
Sun, Oct 5, 11:34 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