summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/retpoline.S
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2023-08-13 12:39:34 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2023-08-14 11:28:51 +0200
commite9fbc47b818b964ddff5df5b2d5c0f5f32f4a147 (patch)
tree7bb7e29d396f1e359be66aa91177791bc100f2c8 /arch/x86/lib/retpoline.S
parentf58d6fbcb7c848b7f2469be339bc571f2e9d245b (diff)
downloadlinux-stable-e9fbc47b818b964ddff5df5b2d5c0f5f32f4a147.tar.gz
linux-stable-e9fbc47b818b964ddff5df5b2d5c0f5f32f4a147.tar.bz2
linux-stable-e9fbc47b818b964ddff5df5b2d5c0f5f32f4a147.zip
x86/srso: Disable the mitigation on unaffected configurations
Skip the srso cmd line parsing which is not needed on Zen1/2 with SMT disabled and with the proper microcode applied (latter should be the case anyway) as those are not affected. Fixes: 5a15d8348881 ("x86/srso: Tie SBPB bit setting to microcode patch detection") Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230813104517.3346-1-bp@alien8.de
Diffstat (limited to 'arch/x86/lib/retpoline.S')
0 files changed, 0 insertions, 0 deletions