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, Nov 5, 12:07 AM
Unknown Object (File)
Wed, Oct 29, 12:13 AM
Unknown Object (File)
Wed, Oct 29, 12:11 AM
Unknown Object (File)
Tue, Oct 28, 1:50 PM
Unknown Object (File)
Thu, Oct 23, 4:32 PM
Unknown Object (File)
Wed, Oct 22, 10:48 PM
Unknown Object (File)
Mon, Oct 20, 7:11 AM
Unknown Object (File)
Sat, Oct 18, 5:45 AM
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 Not Applicable
Unit
Tests Not Applicable