Lines Matching refs:cpu_has
341 if (!cpu_has(c, X86_FEATURE_PN) || !disable_x86_serial_nr) in squash_the_stupid_serial_number()
375 if (cpu_has(c, X86_FEATURE_SMEP)) in setup_smep()
386 if (cpu_has(c, X86_FEATURE_SMAP)) in setup_smap()
397 if (!cpu_has(c, X86_FEATURE_UMIP)) in setup_umip()
647 if (!cpu_has(c, df->feature)) in filter_cpuid_features()
865 if (!cpu_has(c, X86_FEATURE_HT)) in detect_ht_early()
868 if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) in detect_ht_early()
871 if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) in detect_ht_early()
974 if (cpu_has(c, X86_FEATURE_SPEC_CTRL)) { in init_speculation_control()
980 if (cpu_has(c, X86_FEATURE_INTEL_STIBP)) in init_speculation_control()
983 if (cpu_has(c, X86_FEATURE_SPEC_CTRL_SSBD) || in init_speculation_control()
984 cpu_has(c, X86_FEATURE_VIRT_SSBD)) in init_speculation_control()
987 if (cpu_has(c, X86_FEATURE_AMD_IBRS)) { in init_speculation_control()
992 if (cpu_has(c, X86_FEATURE_AMD_IBPB)) in init_speculation_control()
995 if (cpu_has(c, X86_FEATURE_AMD_STIBP)) { in init_speculation_control()
1000 if (cpu_has(c, X86_FEATURE_AMD_SSBD)) { in init_speculation_control()
1097 else if (cpu_has(c, X86_FEATURE_PAE) || cpu_has(c, X86_FEATURE_PSE36)) in get_cpu_address_sizes()
1317 !cpu_has(c, X86_FEATURE_AMD_SSB_NO)) in cpu_set_bug_bits()
1344 (cpu_has(c, X86_FEATURE_RTM) || in cpu_set_bug_bits()
1356 if ((cpu_has(c, X86_FEATURE_RDRAND) || in cpu_set_bug_bits()
1357 cpu_has(c, X86_FEATURE_RDSEED)) && in cpu_set_bug_bits()
1378 if (!cpu_has(c, X86_FEATURE_BTC_NO)) { in cpu_set_bug_bits()
1383 if (cpu_has(c, X86_FEATURE_IBRS_ENHANCED) && in cpu_set_bug_bits()
1676 if (cpu_has(c, X86_FEATURE_HYPERVISOR)) { in check_null_seg_clears_base()
1832 if (cpu_has(c, X86_FEATURE_FSGSBASE)) { in identify_cpu()