File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1617,20 +1617,20 @@ static void __init spectre_v2_determine_rsb_fill_type_at_vmexit(enum spectre_v2_
1617
1617
case SPECTRE_V2_NONE :
1618
1618
return ;
1619
1619
1620
- case SPECTRE_V2_EIBRS_LFENCE :
1621
1620
case SPECTRE_V2_EIBRS :
1621
+ case SPECTRE_V2_EIBRS_LFENCE :
1622
+ case SPECTRE_V2_EIBRS_RETPOLINE :
1622
1623
if (boot_cpu_has_bug (X86_BUG_EIBRS_PBRSB )) {
1623
- setup_force_cpu_cap (X86_FEATURE_RSB_VMEXIT_LITE );
1624
1624
pr_info ("Spectre v2 / PBRSB-eIBRS: Retire a single CALL on VMEXIT\n" );
1625
+ setup_force_cpu_cap (X86_FEATURE_RSB_VMEXIT_LITE );
1625
1626
}
1626
1627
return ;
1627
1628
1628
- case SPECTRE_V2_EIBRS_RETPOLINE :
1629
1629
case SPECTRE_V2_RETPOLINE :
1630
1630
case SPECTRE_V2_LFENCE :
1631
1631
case SPECTRE_V2_IBRS :
1632
- setup_force_cpu_cap (X86_FEATURE_RSB_VMEXIT );
1633
1632
pr_info ("Spectre v2 / SpectreRSB : Filling RSB on VMEXIT\n" );
1633
+ setup_force_cpu_cap (X86_FEATURE_RSB_VMEXIT );
1634
1634
return ;
1635
1635
}
1636
1636
You can’t perform that action at this time.
0 commit comments