Page MenuHomeFreeBSD

arm64: Use a fixed value for sctlr_el1
ClosedPublic

Authored by andrew on Jun 24 2025, 2:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 23, 11:15 AM
Unknown Object (File)
Sat, Aug 8, 2:20 AM
Unknown Object (File)
Fri, Aug 7, 7:38 PM
Unknown Object (File)
Thu, Aug 6, 5:32 AM
Unknown Object (File)
Wed, Aug 5, 8:47 AM
Unknown Object (File)
Jul 24 2026, 3:20 AM
Unknown Object (File)
Jul 21 2026, 7:59 AM
Unknown Object (File)
Jul 19 2026, 1:01 PM
Subscribers

Details

Summary

We load a fixed value into sctlr_el1 in enter_kernel_el so there is no
need to clear and set fields. Replace with a fixed list of fields that
are set when the MMU is off an when it is on.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable