Commit 6a7c3c2
x86/bugs: Fix spectre_v2 mitigation default on Intel
Commit
480e803 ("x86/bugs: Restructure spectre_v2 mitigation")
inadvertently changed the spectre-v2 mitigation default from eIBRS to IBRS on
Intel. While splitting the spectre_v2 mitigation in select/update/apply
functions, eIBRS and IBRS selection logic was separated in select and update.
This caused IBRS selection to not consider that eIBRS mitigation is already
selected, fix it.
Fixes: 480e803 ("x86/bugs: Restructure spectre_v2 mitigation")
Signed-off-by: Pawan Gupta <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/[email protected]1 parent 61ab72c commit 6a7c3c2
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2105 | 2105 | | |
2106 | 2106 | | |
2107 | 2107 | | |
2108 | | - | |
| 2108 | + | |
| 2109 | + | |
2109 | 2110 | | |
2110 | 2111 | | |
2111 | 2112 | | |
| |||
0 commit comments