HomeFreeBSD

arm64: disable the EL2 MMU before dropping to EL1

Description

arm64: disable the EL2 MMU before dropping to EL1

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.

Suggested by: andrew
Reviewed by: andrew

(cherry picked from commit 51adf913e8815bdc928cb72dd378c596b8b15336)

Details

Provenance
kevansAuthored on May 13 2022, 3:03 AM
Parents
rG354d310fe987: arm64: gic: disable the ITS if it's enabled prior to configuration
Branches
Unknown
Tags
Unknown