Commit e9fbc47
committed
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: 5a15d83 ("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.de1 parent f58d6fb commit e9fbc47
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2418 | 2418 | | |
2419 | 2419 | | |
2420 | 2420 | | |
2421 | | - | |
| 2421 | + | |
2422 | 2422 | | |
| 2423 | + | |
| 2424 | + | |
2423 | 2425 | | |
2424 | 2426 | | |
2425 | 2427 | | |
| |||
2696 | 2698 | | |
2697 | 2699 | | |
2698 | 2700 | | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
2699 | 2704 | | |
2700 | 2705 | | |
2701 | 2706 | | |
| |||
0 commit comments