Page MenuHomeFreeBSD

arm64: Fix enabling CPU features
ClosedPublic

Authored by andrew on Sep 16 2025, 4:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 7:46 AM
Unknown Object (File)
Mon, Apr 6, 8:41 AM
Unknown Object (File)
Sun, Apr 5, 11:27 AM
Unknown Object (File)
Fri, Apr 3, 7:28 AM
Unknown Object (File)
Thu, Apr 2, 12:17 PM
Unknown Object (File)
Sat, Mar 28, 7:54 AM
Unknown Object (File)
Fri, Mar 27, 8:50 PM
Unknown Object (File)
Thu, Mar 26, 6:33 PM
Subscribers

Details

Summary

Previously when enabling CPU feature we assumed the no check function
means the feature was unconditionally enabled. When adding support to
disable features on boot this check was incorrectly partially left in
place. As all current features have a check function this meant all
features were disabled.

Fix this by restoring the previous behaviour while also allowing the
user to disable the feature.

Fixes: 4bc68fa98f68 ("arm64: Support managing features from loader")
Sponsored by: Arm Ltd

Diff Detail

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