diff options
author | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-13 12:39:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-26 13:27:00 +0200 |
commit | dae93ed961a8a315cefe64491e8573c5d9e3484e (patch) | |
tree | 5a7e6c3188811cc9949b02117d3cb1b3a855474e /arch/x86/kernel/vmlinux.lds.S | |
parent | e4679a0342e05a962639a6ec3781f257f417f0ff (diff) | |
download | linux-dae93ed961a8a315cefe64491e8573c5d9e3484e.tar.gz |
x86/srso: Disable the mitigation on unaffected configurations
commit e9fbc47b818b964ddff5df5b2d5c0f5f32f4a147 upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions