Page MenuHomeFreeBSD

arm64: Fix enabling CPU features
ClosedPublic

Authored by andrew on Tue, Sep 16, 4:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 30, 8:18 AM
Unknown Object (File)
Wed, Sep 24, 11:44 AM
Unknown Object (File)
Sun, Sep 21, 9:04 PM
Unknown Object (File)
Sat, Sep 20, 1:26 PM
Unknown Object (File)
Sat, Sep 20, 12:15 PM
Unknown Object (File)
Wed, Sep 17, 2:19 AM
Unknown Object (File)
Tue, Sep 16, 9:23 PM
Unknown Object (File)
Tue, Sep 16, 8:37 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