Commit 1dbb6b1
x86/bugs: Fix handling when SRSO mitigation is disabled
When the SRSO mitigation is disabled, either via mitigations=off or
spec_rstack_overflow=off, the warning about the lack of IBPB-enhancing
microcode is printed anyway.
This is unnecessary since the user has turned off the mitigation.
[ bp: Massage, drop SBPB rationale as it doesn't matter because when
mitigations are disabled x86_pred_cmd is not being used anyway. ]
Signed-off-by: David Kaplan <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 23e12b5 commit 1dbb6b1
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2557 | 2557 | | |
2558 | 2558 | | |
2559 | 2559 | | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | | - | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
2564 | 2563 | | |
2565 | 2564 | | |
2566 | 2565 | | |
| |||
2591 | 2590 | | |
2592 | 2591 | | |
2593 | 2592 | | |
2594 | | - | |
2595 | | - | |
2596 | | - | |
2597 | | - | |
2598 | | - | |
2599 | 2593 | | |
2600 | 2594 | | |
2601 | 2595 | | |
| |||
2649 | 2643 | | |
2650 | 2644 | | |
2651 | 2645 | | |
| 2646 | + | |
| 2647 | + | |
2652 | 2648 | | |
2653 | 2649 | | |
2654 | 2650 | | |
| |||
0 commit comments