Page MenuHomeFreeBSD

arm64: Use FEAT_SSBS as a Spectre-V4 workaround
Needs ReviewPublic

Authored by andrew on Sep 12 2023, 3:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 24, 12:14 AM
Unknown Object (File)
Fri, Nov 21, 9:55 AM
Unknown Object (File)
Fri, Nov 21, 9:55 AM
Unknown Object (File)
Fri, Nov 21, 9:54 AM
Unknown Object (File)
Sat, Nov 15, 10:41 PM
Unknown Object (File)
Oct 18 2025, 1:08 AM
Unknown Object (File)
Oct 18 2025, 1:08 AM
Unknown Object (File)
Oct 17 2025, 3:17 PM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
Summary

FEAT_SSBS adds a flag to that allows the hardware to load or store
speculatively in a way that could lead to a cache timing side channel.
We have been implicitly supporting this flag in the kernel by clearing
it on boot, but should allow the user to set it in the same way as the
existing workaround.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53551
Build 50442: arc lint + arc unit