Page MenuHomeFreeBSD

arm64: Read the CPU feature tunables once
ClosedPublic

Authored by andrew on Sep 16 2025, 4:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 19, 3:35 AM
Unknown Object (File)
Thu, Dec 25, 7:56 PM
Unknown Object (File)
Sun, Dec 21, 9:20 PM
Unknown Object (File)
Dec 6 2025, 8:56 PM
Unknown Object (File)
Nov 29 2025, 10:06 PM
Unknown Object (File)
Nov 27 2025, 3:52 PM
Unknown Object (File)
Nov 27 2025, 12:29 PM
Unknown Object (File)
Nov 25 2025, 1:34 PM
Subscribers

Details

Summary

Rather than reading the CPU tunables each time we enable a feature
just read them once on boot. Reading them early on non-boot CPUs
causes issues where they try to allocate memory before the core is set
up to do so. As they don't change it is safe to cache the state of
them.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67085
Build 63968: arc lint + arc unit