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)
Mon, Oct 20, 7:11 AM
Unknown Object (File)
Sat, Oct 18, 5:45 AM
Unknown Object (File)
Thu, Oct 16, 6:00 PM
Unknown Object (File)
Wed, Oct 15, 9:51 PM
Unknown Object (File)
Tue, Oct 14, 4:26 PM
Unknown Object (File)
Tue, Oct 14, 7:22 AM
Unknown Object (File)
Sun, Oct 12, 5:53 PM
Unknown Object (File)
Sat, Oct 11, 3:56 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