From: Andrew Cooper Date: Wed, 9 Aug 2023 15:07:03 +0000 (+0100) Subject: x86/spec-ctrl: Add SRSO whitepaper URL X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=78a86b26868c12ae1cc3dd2a8bb9aa5eebaa41fd;p=people%2Ftklengyel%2Fxen.git x86/spec-ctrl: Add SRSO whitepaper URL ... now that it exists in public. Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich --- diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c index 6fd7d44ce4..a8d8af22f6 100644 --- a/xen/arch/x86/spec_ctrl.c +++ b/xen/arch/x86/spec_ctrl.c @@ -903,6 +903,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 &