|
@@ -992,7 +992,8 @@ static void __init cpu_set_bug_bits(struct cpuinfo_x86 *c)
|
|
|
rdmsrl(MSR_IA32_ARCH_CAPABILITIES, ia32_cap);
|
|
|
|
|
|
if (!x86_match_cpu(cpu_no_spec_store_bypass) &&
|
|
|
- !(ia32_cap & ARCH_CAP_SSB_NO))
|
|
|
+ !(ia32_cap & ARCH_CAP_SSB_NO) &&
|
|
|
+ !cpu_has(c, X86_FEATURE_AMD_SSB_NO))
|
|
|
setup_force_cpu_bug(X86_BUG_SPEC_STORE_BYPASS);
|
|
|
|
|
|
if (x86_match_cpu(cpu_no_meltdown))
|