From 0527bab0901b800e3f1be2e7836c5346b6e08809 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Tue, 14 Nov 2023 14:01:59 +0100 Subject: [PATCH] x86/spec-ctrl: Add SRSO whitepaper URL ... now that it exists in public. Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich master commit: 78a86b26868c12ae1cc3dd2a8bb9aa5eebaa41fd master date: 2023-11-07 17:47:34 +0000 --- xen/arch/x86/spec_ctrl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c index 0ff3c895ac..56e07d7536 100644 --- a/xen/arch/x86/spec_ctrl.c +++ b/xen/arch/x86/spec_ctrl.c @@ -915,6 +915,9 @@ static bool __init should_use_eager_fpu(void) } } +/* + * https://www.amd.com/content/dam/amd/en/documents/corporate/cr/speculative-return-stack-overflow-whitepaper.pdf + */ static void __init srso_calculations(bool hw_smt_enabled) { if ( !(boot_cpu_data.x86_vendor & -- 2.39.5