Lines Matching refs:cpu_matches
1180 static bool __init cpu_matches(const struct x86_cpu_id *table, unsigned long which) in cpu_matches() function
1209 if (!cpu_matches(cpu_vuln_whitelist, NO_ITLB_MULTIHIT) && in cpu_set_bug_bits()
1213 if (cpu_matches(cpu_vuln_whitelist, NO_SPECULATION)) in cpu_set_bug_bits()
1218 if (!cpu_matches(cpu_vuln_whitelist, NO_SPECTRE_V2)) in cpu_set_bug_bits()
1221 if (!cpu_matches(cpu_vuln_whitelist, NO_SSB) && in cpu_set_bug_bits()
1229 if (!cpu_matches(cpu_vuln_whitelist, NO_MDS) && in cpu_set_bug_bits()
1232 if (cpu_matches(cpu_vuln_whitelist, MSBDS_ONLY)) in cpu_set_bug_bits()
1236 if (!cpu_matches(cpu_vuln_whitelist, NO_SWAPGS)) in cpu_set_bug_bits()
1264 cpu_matches(cpu_vuln_blacklist, SRBDS | MMIO_SBDS)) in cpu_set_bug_bits()
1278 if (cpu_matches(cpu_vuln_blacklist, MMIO)) in cpu_set_bug_bits()
1280 else if (!cpu_matches(cpu_vuln_whitelist, NO_MMIO)) in cpu_set_bug_bits()
1285 if (cpu_matches(cpu_vuln_blacklist, RETBLEED) || (ia32_cap & ARCH_CAP_RSBA)) in cpu_set_bug_bits()
1290 !cpu_matches(cpu_vuln_whitelist, NO_EIBRS_PBRSB) && in cpu_set_bug_bits()
1294 if (cpu_matches(cpu_vuln_blacklist, SMT_RSB)) in cpu_set_bug_bits()
1303 if (cpu_matches(cpu_vuln_blacklist, GDS) && !(ia32_cap & ARCH_CAP_GDS_NO) && in cpu_set_bug_bits()
1308 if (cpu_matches(cpu_vuln_blacklist, SRSO)) in cpu_set_bug_bits()
1312 if (cpu_matches(cpu_vuln_whitelist, NO_MELTDOWN)) in cpu_set_bug_bits()
1321 if (cpu_matches(cpu_vuln_whitelist, NO_L1TF)) in cpu_set_bug_bits()