View | Details | Raw Unified | Return to bug 1139073
Collapse All | Expand All

(-)a/arch/x86/kernel/cpu/bugs.c (-5 lines)
Lines 886-895 static void update_mds_branch_idle(void) Link Here
886
886
887
void cpu_bugs_smt_update(void)
887
void cpu_bugs_smt_update(void)
888
{
888
{
889
	/* Enhanced IBRS implies STIBP. No update required. */
890
	if (spectre_v2_enabled == SPECTRE_V2_IBRS_ENHANCED)
891
		return;
892
893
	mutex_lock(&spec_ctrl_mutex);
889
	mutex_lock(&spec_ctrl_mutex);
894
890
895
	switch (spectre_v2_user) {
891
	switch (spectre_v2_user) {
896
- 

Return to bug 1139073