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)
Sun, Mar 15, 2:39 PM
Unknown Object (File)
Sun, Mar 8, 6:58 AM
Unknown Object (File)
Sun, Feb 22, 7:34 PM
Unknown Object (File)
Sat, Feb 21, 5:01 AM
Unknown Object (File)
Sat, Feb 21, 12:39 AM
Unknown Object (File)
Feb 11 2026, 2:43 AM
Unknown Object (File)
Jan 30 2026, 5:42 AM
Unknown Object (File)
Jan 28 2026, 3:16 AM
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