Page MenuHomeFreeBSD

Skip known safe Spectre-V4 arm64 CPUs
Needs ReviewPublic

Authored by andrew on Sep 12 2023, 3:28 PM.
Tags
None
Referenced Files
F145654951: D41831.id127328.diff
Sun, Feb 22, 5:30 PM
F145654942: D41831.id127328.diff
Sun, Feb 22, 5:30 PM
Unknown Object (File)
Sun, Feb 22, 11:43 AM
Unknown Object (File)
Sat, Feb 21, 5:21 PM
Unknown Object (File)
Sat, Feb 21, 10:28 AM
Unknown Object (File)
Sun, Feb 8, 12:15 PM
Unknown Object (File)
Tue, Feb 3, 3:59 AM
Unknown Object (File)
Sun, Feb 1, 10:27 AM
Subscribers

Details

Reviewers
manu
emaste
Group Reviewers
arm64
Summary

There is no need to search for the Spectre-V4 workaround handler on
the Cortex-A35, A53, or A55 CPUs as these are known to not be
vulnerable. Exit early on these CPUs rather than probe to the
workaround.

While here print a message when the workaround was forced on, but no
firmware support was found.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

emaste added inline comments.
sys/arm64/arm64/cpu_errata.c
148

maybe include kern.cfg.ssbd to give a hint about why it's forced on?

This revision is now accepted and ready to land.Sep 13 2023, 11:05 AM

Update the force-on warning

This revision now requires review to proceed.Sep 13 2023, 12:13 PM