Lines Matching refs:cpu_has
329 if (!cpu_has(c, X86_FEATURE_PN) || !disable_x86_serial_nr) in squash_the_stupid_serial_number()
363 if (cpu_has(c, X86_FEATURE_SMEP)) in setup_smep()
374 if (cpu_has(c, X86_FEATURE_SMAP)) in setup_smap()
385 if (!cpu_has(c, X86_FEATURE_UMIP)) in setup_umip()
653 if (!cpu_has(c, df->feature)) in filter_cpuid_features()
890 if (!cpu_has(c, X86_FEATURE_HT)) in detect_ht_early()
893 if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) in detect_ht_early()
896 if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) in detect_ht_early()
999 if (cpu_has(c, X86_FEATURE_SPEC_CTRL)) { in init_speculation_control()
1005 if (cpu_has(c, X86_FEATURE_INTEL_STIBP)) in init_speculation_control()
1008 if (cpu_has(c, X86_FEATURE_SPEC_CTRL_SSBD) || in init_speculation_control()
1009 cpu_has(c, X86_FEATURE_VIRT_SSBD)) in init_speculation_control()
1012 if (cpu_has(c, X86_FEATURE_AMD_IBRS)) { in init_speculation_control()
1017 if (cpu_has(c, X86_FEATURE_AMD_IBPB)) in init_speculation_control()
1020 if (cpu_has(c, X86_FEATURE_AMD_STIBP)) { in init_speculation_control()
1025 if (cpu_has(c, X86_FEATURE_AMD_SSBD)) { in init_speculation_control()
1125 else if (cpu_has(c, X86_FEATURE_PAE) || cpu_has(c, X86_FEATURE_PSE36)) in get_cpu_address_sizes()
1354 !cpu_has(c, X86_FEATURE_AMD_SSB_NO)) in cpu_set_bug_bits()
1361 if ((ia32_cap & ARCH_CAP_IBRS_ALL) || cpu_has(c, X86_FEATURE_AUTOIBRS)) { in cpu_set_bug_bits()
1389 (cpu_has(c, X86_FEATURE_RTM) || in cpu_set_bug_bits()
1401 if ((cpu_has(c, X86_FEATURE_RDRAND) || in cpu_set_bug_bits()
1402 cpu_has(c, X86_FEATURE_RDSEED)) && in cpu_set_bug_bits()
1423 if (!cpu_has(c, X86_FEATURE_BTC_NO)) { in cpu_set_bug_bits()
1431 if (!cpu_has(c, X86_FEATURE_SRSO_NO)) { in cpu_set_bug_bits()
1717 if (cpu_has(c, X86_FEATURE_NULL_SEL_CLR_BASE)) in check_null_seg_clears_base()
1727 if (cpu_has(c, X86_FEATURE_HYPERVISOR)) { in check_null_seg_clears_base()
1890 if (cpu_has(c, X86_FEATURE_FSGSBASE)) { in identify_cpu()