[PATCH] x86/spec-ctrl: Add SRSO whitepaper URL

Andrew Cooper posted 1 patch 8 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230809150854.66849-1-andrew.cooper3@citrix.com
xen/arch/x86/spec_ctrl.c | 3 +++
1 file changed, 3 insertions(+)
[PATCH] x86/spec-ctrl: Add SRSO whitepaper URL
Posted by Andrew Cooper 8 months, 3 weeks ago
... now that it exists in public.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Wei Liu <wl@xen.org>

I did try to get this URL ahead of finalising the XSA-434 patches, but alas...
---
 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 ebe56a96cdca..bafc41a2f6c4 100644
--- a/xen/arch/x86/spec_ctrl.c
+++ b/xen/arch/x86/spec_ctrl.c
@@ -898,6 +898,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 &

base-commit: 236fc9fdf97f4e7c64824ab793e8dca30dd54ffb
-- 
2.30.2


Re: [PATCH] x86/spec-ctrl: Add SRSO whitepaper URL
Posted by Jan Beulich 8 months, 3 weeks ago
On 09.08.2023 17:08, Andrew Cooper wrote:
> ... now that it exists in public.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Reviewed-by: Jan Beulich <jbeulich@suse.com>