Page MenuHomeFreeBSD

arm64: Fix enabling CPU features
ClosedPublic

Authored by andrew on Sep 16 2025, 4:51 PM.
Tags
None
Referenced Files
F137850915: D52579.id162176.diff
Wed, Nov 26, 10:39 AM
Unknown Object (File)
Sun, Nov 23, 3:42 AM
Unknown Object (File)
Thu, Nov 13, 5:39 AM
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)
Oct 23 2025, 4:32 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 Not Applicable
Unit
Tests Not Applicable