|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging-4.18] x86/spec-ctrl: Rename tsa_calculations()
commit 2e8a5df9dc22e0f12b8c4aeec92591f111c5bfdd
Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Fri Nov 7 15:00:32 2025 +0000
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Tue Nov 10 18:10:58 2026 +0000
x86/spec-ctrl: Rename tsa_calculations()
... and adjust some comments in preparation to cope with the second TSA
variant.
No functional change.
This is part of XSA-525.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Acked-by: Roger Pau Monné <roger@xxxxxxxxxxxxxx>
(cherry picked from commit 85b6ec84e7276c2ed01815cd11b96fe73d98e14b)
---
xen/arch/x86/spec_ctrl.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c
index c1ad335d9e..e6a1551e04 100644
--- a/xen/arch/x86/spec_ctrl.c
+++ b/xen/arch/x86/spec_ctrl.c
@@ -1549,11 +1549,11 @@ static void __init rfds_calculations(void)
}
/*
- * Transient Scheduler Attacks
+ * Transient Scheduler Attacks (Store Queue and L1)
*
*
https://www.amd.com/content/dam/amd/en/documents/resources/bulletin/technical-guidance-for-mitigating-transient-scheduler-attacks.pdf
*/
-static void __init tsa_calculations(void)
+static void __init tsa_sq_l1_calculations(void)
{
unsigned int curr_rev, min_rev;
@@ -2346,9 +2346,9 @@ void __init init_speculation_mitigations(void)
* - March 2023, for RFDS. Enumerate RFDS_CLEAR to mean that VERW now
* scrubs non-architectural entries from certain register files.
*
- * - July 2025, for TSA. Introduces VERW side effects to mitigate
- * TSA_{SQ/L1}. Xen must synthesise the VERW_CLEAR feature based on
- * microcode version.
+ * - July 2025, for TSA-L1/SQ. Introduces VERW side effects on Zen3/4.
+ * Xen must synthesise the VERW_CLEAR feature based on microcode
+ * version.
*
* Note, these microcode updates were produced before the remediation of
* the microcode signature issues, and are included in the firwmare
@@ -2356,7 +2356,7 @@ void __init init_speculation_mitigations(void)
*/
mds_calculations();
rfds_calculations();
- tsa_calculations();
+ tsa_sq_l1_calculations();
/*
* Parts which enumerate FB_CLEAR are those with now-updated microcode
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.18
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |