We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb6c1d commit 571c30bCopy full SHA for 571c30b
arch/x86/kernel/cpu/bugs.c
@@ -1520,6 +1520,7 @@ static void __init spectre_v2_select_mitigation(void)
1520
* enable IBRS around firmware calls.
1521
*/
1522
if (boot_cpu_has_bug(X86_BUG_RETBLEED) &&
1523
+ boot_cpu_has(X86_FEATURE_IBPB) &&
1524
(boot_cpu_data.x86_vendor == X86_VENDOR_AMD ||
1525
boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)) {
1526
0 commit comments