Originally posted by -MacNuke-
View Post
Announcement
Collapse
No announcement yet.
Patches For The Better Spectre STIBP Approach Revised - Version 7 Under Review
Collapse
X
-
I see that they set STIBP also on AMD CPUs. Are they even affected since it is a Spectre 2 thing?
Leave a comment:
-
Originally posted by schmidtbag View PostI'm not totally sure what exactly this implies, but I had a somewhat similar idea that I think would work well:
Disable SMT code paths for any core(s) that have a single-threaded application running on them. To my understanding, the real vulnerability here is how SMT threads can read the L1 cache and therefore predict what the other thread is doing. But if that SMT'd thread is completely off-limits whenever a single-threaded application is using the core, you should be able to retain the performance of multi-threaded applications, which can claim both threads of a single core without being vulnerable (I think, anyway).
Leave a comment:
-
With the new V7 patches there is protection for SECCOMP tasks, bug fixes, updated the boot options to align with the other speculation mitigations, disabling the SMT code paths when irrelevant for the current system configuration, and other code changes.
Disable SMT code paths for any core(s) that have a single-threaded application running on them. To my understanding, the real vulnerability here is how SMT threads can read the L1 cache and therefore predict what the other thread is doing. But if that SMT'd thread is completely off-limits whenever a single-threaded application is using the core, you should be able to retain the performance of multi-threaded applications, which can claim both threads of a single core without being vulnerable (I think, anyway).
Leave a comment:
-
Patches For The Better Spectre STIBP Approach Revised - Version 7 Under Review
Phoronix: Patches For The Better Spectre STIBP Approach Revised - Version 7 Under Review
Version 7 of the task property based options to enable Spectre V2 userspace-userspace protection patches, a.k.a. the work offering improved / less regressing approach for STIBP, is now available for testing and code review...
Tags: None
Leave a comment: