HomeFreeBSD

arm64: Use a fixed value for sctlr_el1

Description

arm64: Use a fixed value for sctlr_el1

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
Differential Revision: https://reviews.freebsd.org/D51011

Details

Provenance
andrewAuthored on Jul 31 2025, 2:12 PM
Differential Revision
D51011: arm64: Use a fixed value for sctlr_el1
Parents
rG81f07332c03f: arm64: tidy up Top-Byte-Ignore (TBI) in the kernel
Branches
Unknown
Tags
Unknown