Lines Matching refs:cpu_has
265 if (!cpu_has(c, X86_FEATURE_PN) || !disable_x86_serial_nr) in squash_the_stupid_serial_number()
306 if (cpu_has(c, X86_FEATURE_SMEP)) in setup_smep()
324 if (cpu_has(c, X86_FEATURE_SMAP)) { in setup_smap()
341 if (!cpu_has(c, X86_FEATURE_UMIP)) in setup_umip()
479 if (!cpu_has(c, X86_FEATURE_PKU)) in setup_pku()
538 if (!cpu_has(c, df->feature)) in filter_cpuid_features()
757 if (!cpu_has(c, X86_FEATURE_HT)) in detect_ht_early()
760 if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) in detect_ht_early()
763 if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) in detect_ht_early()
866 if (cpu_has(c, X86_FEATURE_SPEC_CTRL)) { in init_speculation_control()
872 if (cpu_has(c, X86_FEATURE_INTEL_STIBP)) in init_speculation_control()
875 if (cpu_has(c, X86_FEATURE_SPEC_CTRL_SSBD) || in init_speculation_control()
876 cpu_has(c, X86_FEATURE_VIRT_SSBD)) in init_speculation_control()
879 if (cpu_has(c, X86_FEATURE_AMD_IBRS)) { in init_speculation_control()
884 if (cpu_has(c, X86_FEATURE_AMD_IBPB)) in init_speculation_control()
887 if (cpu_has(c, X86_FEATURE_AMD_STIBP)) { in init_speculation_control()
892 if (cpu_has(c, X86_FEATURE_AMD_SSBD)) { in init_speculation_control()
992 else if (cpu_has(c, X86_FEATURE_PAE) || cpu_has(c, X86_FEATURE_PSE36)) in get_cpu_address_sizes()
1219 !cpu_has(c, X86_FEATURE_AMD_SSB_NO)) in cpu_set_bug_bits()
1246 (cpu_has(c, X86_FEATURE_RTM) || in cpu_set_bug_bits()
1258 if ((cpu_has(c, X86_FEATURE_RDRAND) || in cpu_set_bug_bits()
1259 cpu_has(c, X86_FEATURE_RDSEED)) && in cpu_set_bug_bits()
1280 if (!cpu_has(c, X86_FEATURE_BTC_NO)) { in cpu_set_bug_bits()
1285 if (cpu_has(c, X86_FEATURE_IBRS_ENHANCED) && in cpu_set_bug_bits()
1300 if (!cpu_has(c, X86_FEATURE_SRSO_NO)) { in cpu_set_bug_bits()
1549 if (cpu_has(c, X86_FEATURE_HYPERVISOR)) { in check_null_seg_clears_base()
1705 if (cpu_has(c, X86_FEATURE_FSGSBASE)) { in identify_cpu()