Page MenuHomeFreeBSD

arm64: Fix enabling CPU features
ClosedPublic

Authored by andrew on Tue, Sep 16, 4:51 PM.
Tags
None
Referenced Files
F132323467: D52579.id162176.diff
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
Unknown Object (File)
Sat, Oct 11, 3:56 PM
Unknown Object (File)
Sat, Oct 11, 3:56 PM
Unknown Object (File)
Sat, Oct 11, 7:27 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