Symbol: boot_cpu_has
arch/um/include/asm/cpufeature.h
121
__builtin_constant_p(boot_cpu_has(bit)) ? \
arch/um/include/asm/cpufeature.h
122
boot_cpu_has(bit) : \
arch/um/include/asm/cpufeature.h
134
#define cpu_have_feature boot_cpu_has
arch/x86/crypto/aegis128-aesni-glue.c
267
if (!boot_cpu_has(X86_FEATURE_XMM4_1) ||
arch/x86/crypto/aegis128-aesni-glue.c
268
!boot_cpu_has(X86_FEATURE_AES) ||
arch/x86/crypto/aesni-intel_glue.c
1531
if (!boot_cpu_has(X86_FEATURE_AVX))
arch/x86/crypto/aesni-intel_glue.c
1547
if (!boot_cpu_has(X86_FEATURE_AVX2) ||
arch/x86/crypto/aesni-intel_glue.c
1548
!boot_cpu_has(X86_FEATURE_VAES) ||
arch/x86/crypto/aesni-intel_glue.c
1549
!boot_cpu_has(X86_FEATURE_VPCLMULQDQ) ||
arch/x86/crypto/aesni-intel_glue.c
1550
!boot_cpu_has(X86_FEATURE_PCLMULQDQ) ||
arch/x86/crypto/aesni-intel_glue.c
1562
if (!boot_cpu_has(X86_FEATURE_AVX512BW) ||
arch/x86/crypto/aesni-intel_glue.c
1563
!boot_cpu_has(X86_FEATURE_AVX512VL) ||
arch/x86/crypto/aesni-intel_glue.c
1564
!boot_cpu_has(X86_FEATURE_BMI2) ||
arch/x86/crypto/aesni-intel_glue.c
1569
if (boot_cpu_has(X86_FEATURE_PREFER_YMM)) {
arch/x86/crypto/aria_aesni_avx2_glue.c
200
if (!boot_cpu_has(X86_FEATURE_AVX) ||
arch/x86/crypto/aria_aesni_avx2_glue.c
201
!boot_cpu_has(X86_FEATURE_AVX2) ||
arch/x86/crypto/aria_aesni_avx2_glue.c
202
!boot_cpu_has(X86_FEATURE_AES) ||
arch/x86/crypto/aria_aesni_avx2_glue.c
203
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/crypto/aria_aesni_avx2_glue.c
214
if (boot_cpu_has(X86_FEATURE_GFNI)) {
arch/x86/crypto/aria_aesni_avx_glue.c
187
if (!boot_cpu_has(X86_FEATURE_AVX) ||
arch/x86/crypto/aria_aesni_avx_glue.c
188
!boot_cpu_has(X86_FEATURE_AES) ||
arch/x86/crypto/aria_aesni_avx_glue.c
189
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/crypto/aria_aesni_avx_glue.c
200
if (boot_cpu_has(X86_FEATURE_GFNI)) {
arch/x86/crypto/aria_gfni_avx512_glue.c
201
if (!boot_cpu_has(X86_FEATURE_AVX) ||
arch/x86/crypto/aria_gfni_avx512_glue.c
202
!boot_cpu_has(X86_FEATURE_AVX2) ||
arch/x86/crypto/aria_gfni_avx512_glue.c
203
!boot_cpu_has(X86_FEATURE_AVX512F) ||
arch/x86/crypto/aria_gfni_avx512_glue.c
204
!boot_cpu_has(X86_FEATURE_AVX512VL) ||
arch/x86/crypto/aria_gfni_avx512_glue.c
205
!boot_cpu_has(X86_FEATURE_GFNI) ||
arch/x86/crypto/aria_gfni_avx512_glue.c
206
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/crypto/camellia_aesni_avx2_glue.c
102
if (!boot_cpu_has(X86_FEATURE_AVX) ||
arch/x86/crypto/camellia_aesni_avx2_glue.c
103
!boot_cpu_has(X86_FEATURE_AVX2) ||
arch/x86/crypto/camellia_aesni_avx2_glue.c
104
!boot_cpu_has(X86_FEATURE_AES) ||
arch/x86/crypto/camellia_aesni_avx2_glue.c
105
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/crypto/camellia_aesni_avx_glue.c
103
if (!boot_cpu_has(X86_FEATURE_AVX) ||
arch/x86/crypto/camellia_aesni_avx_glue.c
104
!boot_cpu_has(X86_FEATURE_AES) ||
arch/x86/crypto/camellia_aesni_avx_glue.c
105
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/crypto/serpent_avx2_glue.c
98
if (!boot_cpu_has(X86_FEATURE_AVX2) || !boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/crypto/serpent_sse2_glue.c
105
if (!boot_cpu_has(X86_FEATURE_XMM2)) {
arch/x86/crypto/sm3_avx_glue.c
69
if (!boot_cpu_has(X86_FEATURE_AVX)) {
arch/x86/crypto/sm3_avx_glue.c
74
if (!boot_cpu_has(X86_FEATURE_BMI2)) {
arch/x86/crypto/sm4_aesni_avx2_glue.c
103
if (!boot_cpu_has(X86_FEATURE_AVX) ||
arch/x86/crypto/sm4_aesni_avx2_glue.c
104
!boot_cpu_has(X86_FEATURE_AVX2) ||
arch/x86/crypto/sm4_aesni_avx2_glue.c
105
!boot_cpu_has(X86_FEATURE_AES) ||
arch/x86/crypto/sm4_aesni_avx2_glue.c
106
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/crypto/sm4_aesni_avx_glue.c
319
if (!boot_cpu_has(X86_FEATURE_AVX) ||
arch/x86/crypto/sm4_aesni_avx_glue.c
320
!boot_cpu_has(X86_FEATURE_AES) ||
arch/x86/crypto/sm4_aesni_avx_glue.c
321
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/events/amd/core.c
1415
if (!boot_cpu_has(X86_FEATURE_PERFCTR_CORE))
arch/x86/events/amd/core.c
1431
if (boot_cpu_has(X86_FEATURE_PERFMON_V2)) {
arch/x86/events/amd/core.c
332
if (!boot_cpu_has(X86_FEATURE_PERFCTR_CORE))
arch/x86/events/amd/ibs.c
1523
if (!boot_cpu_has(X86_FEATURE_IBS))
arch/x86/events/amd/lbr.c
426
if (x86_pmu.version < 2 || !boot_cpu_has(X86_FEATURE_AMD_LBR_V2))
arch/x86/events/amd/power.c
271
if (!boot_cpu_has(X86_FEATURE_ACC_POWER))
arch/x86/events/amd/uncore.c
1126
if (!boot_cpu_has(X86_FEATURE_TOPOEXT))
arch/x86/events/amd/uncore.c
1129
if (boot_cpu_has(X86_FEATURE_PERFMON_V2))
arch/x86/events/amd/uncore.c
697
if (!boot_cpu_has(X86_FEATURE_PERFCTR_NB))
arch/x86/events/amd/uncore.c
833
if (!boot_cpu_has(X86_FEATURE_PERFCTR_LLC))
arch/x86/events/core.c
1873
if (boot_cpu_has(X86_FEATURE_APIC))
arch/x86/events/core.c
347
if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) {
arch/x86/events/intel/bts.c
603
if (!boot_cpu_has(X86_FEATURE_DTES64))
arch/x86/events/intel/bts.c
606
x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS);
arch/x86/events/intel/bts.c
610
if (boot_cpu_has(X86_FEATURE_PTI)) {
arch/x86/events/intel/core.c
5131
if (!boot_cpu_has(X86_FEATURE_RTM) && !boot_cpu_has(X86_FEATURE_HLE))
arch/x86/events/intel/core.c
6508
if (!boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/events/intel/core.c
6903
return boot_cpu_has(X86_FEATURE_RTM) ? attr->mode : 0;
arch/x86/events/intel/core.c
7589
int assume = 3 * !boot_cpu_has(X86_FEATURE_HYPERVISOR);
arch/x86/events/intel/core.c
7596
if (boot_cpu_has(X86_FEATURE_PDCM)) {
arch/x86/events/intel/core.c
7608
if (boot_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/core.c
7992
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8034
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8095
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8108
if (boot_cpu_has(X86_FEATURE_TSX_FORCE_ABORT) &&
arch/x86/events/intel/core.c
8109
!boot_cpu_has(X86_FEATURE_RTM_ALWAYS_ABORT)) {
arch/x86/events/intel/core.c
8146
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8195
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8223
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8280
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8319
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8343
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8377
extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
arch/x86/events/intel/core.c
8454
if (!is_hybrid() && boot_cpu_has(X86_FEATURE_ARCH_PERFMON_EXT))
arch/x86/events/intel/core.c
8495
if (boot_cpu_has(X86_FEATURE_ARCH_LBR)) {
arch/x86/events/intel/cstate.c
768
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/events/intel/ds.c
3329
if (!boot_cpu_has(X86_FEATURE_DTES64))
arch/x86/events/intel/ds.c
3332
x86_pmu.ds_pebs = boot_cpu_has(X86_FEATURE_PEBS);
arch/x86/events/intel/lbr.c
1571
if (!boot_cpu_has(X86_FEATURE_XSAVES))
arch/x86/events/intel/lbr.c
242
bool tsx_support = boot_cpu_has(X86_FEATURE_HLE) ||
arch/x86/events/intel/lbr.c
243
boot_cpu_has(X86_FEATURE_RTM);
arch/x86/events/intel/pt.c
1837
if (!boot_cpu_has(X86_FEATURE_INTEL_PT))
arch/x86/events/intel/pt.c
229
if (boot_cpu_has(X86_FEATURE_VMX)) {
arch/x86/events/intel/uncore.c
1957
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/events/msr.c
24
return boot_cpu_has(X86_FEATURE_APERFMPERF);
arch/x86/events/msr.c
29
return boot_cpu_has(X86_FEATURE_PTSC);
arch/x86/events/msr.c
308
if (!boot_cpu_has(X86_FEATURE_TSC)) {
arch/x86/events/msr.c
34
return boot_cpu_has(X86_FEATURE_IRPERF);
arch/x86/events/msr.c
39
return boot_cpu_has(X86_FEATURE_DTHERM);
arch/x86/include/asm/acpi.h
104
else if (boot_cpu_has(X86_BUG_AMD_APIC_C1E))
arch/x86/include/asm/acrn.h
27
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/include/asm/apic.h
246
return boot_cpu_has(X86_FEATURE_X2APIC) && apic_is_x2apic_enabled();
arch/x86/include/asm/apic.h
249
#define x2apic_supported() (boot_cpu_has(X86_FEATURE_X2APIC))
arch/x86/include/asm/cmpxchg_32.h
153
#define system_has_cmpxchg64() boot_cpu_has(X86_FEATURE_CX8)
arch/x86/include/asm/cmpxchg_64.h
93
#define system_has_cmpxchg128() boot_cpu_has(X86_FEATURE_CX16)
arch/x86/include/asm/cpufeature.h
121
__builtin_constant_p(boot_cpu_has(bit)) ? \
arch/x86/include/asm/cpufeature.h
122
boot_cpu_has(bit) : \
arch/x86/include/asm/cpufeature.h
135
#define cpu_have_feature boot_cpu_has
arch/x86/include/asm/cpufeature.h
84
if (!boot_cpu_has(bit)) \
arch/x86/include/asm/fsgsbase.h
60
if (boot_cpu_has(X86_FEATURE_FSGSBASE))
arch/x86/include/asm/fsgsbase.h
70
if (boot_cpu_has(X86_FEATURE_FSGSBASE))
arch/x86/include/asm/hugetlb.h
8
#define hugepages_supported() boot_cpu_has(X86_FEATURE_PSE)
arch/x86/include/asm/irq_work.h
10
return boot_cpu_has(X86_FEATURE_APIC);
arch/x86/include/asm/pgtable.h
320
return boot_cpu_has(X86_FEATURE_PSE);
arch/x86/include/asm/trace/fpu.h
24
if (boot_cpu_has(X86_FEATURE_OSXSAVE)) {
arch/x86/include/asm/vmalloc.h
14
return boot_cpu_has(X86_FEATURE_GBPAGES);
arch/x86/include/asm/vmalloc.h
21
return boot_cpu_has(X86_FEATURE_PSE);
arch/x86/include/asm/xor_32.h
559
if (boot_cpu_has(X86_FEATURE_XMM)) { \
arch/x86/include/asm/xor_32.h
562
} else if (boot_cpu_has(X86_FEATURE_MMX)) { \
arch/x86/include/asm/xor_avx.h
171
if (boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_OSXSAVE)) \
arch/x86/include/asm/xor_avx.h
176
(boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_OSXSAVE) ? &xor_block_avx : FASTEST)
arch/x86/kernel/acpi/boot.c
1034
if (!boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/acpi/boot.c
1060
if (!boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/acpi/boot.c
1196
if (!boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/acpi/boot.c
134
if (!boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/acpi/cppc.c
38
return boot_cpu_has(X86_FEATURE_CPPC);
arch/x86/kernel/alternative.c
2482
if (boot_cpu_has(X86_FEATURE_NX) &&
arch/x86/kernel/alternative.c
621
if (!boot_cpu_has(alt->cpuid) != !(alt->flags & ALT_FLAG_NOT))
arch/x86/kernel/apic/apic.c
1207
if (!boot_cpu_has(X86_FEATURE_APIC) && !apic_from_smp_config())
arch/x86/kernel/apic/apic.c
1257
if (!boot_cpu_has(X86_FEATURE_APIC)) {
arch/x86/kernel/apic/apic.c
1266
if (!boot_cpu_has(X86_FEATURE_APIC) && !smp_found_config) {
arch/x86/kernel/apic/apic.c
1272
if (!boot_cpu_has(X86_FEATURE_APIC) &&
arch/x86/kernel/apic/apic.c
1318
if (smp_found_config || !boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/apic/apic.c
1717
if (!boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/apic/apic.c
1876
} else if (!boot_cpu_has(X86_FEATURE_X2APIC)) {
arch/x86/kernel/apic/apic.c
1945
if (!boot_cpu_has(X86_FEATURE_APIC)) {
arch/x86/kernel/apic/apic.c
2025
if ((boot_cpu_data.x86 == 5 && boot_cpu_has(X86_FEATURE_APIC)) ||
arch/x86/kernel/apic/apic.c
2033
if (!boot_cpu_has(X86_FEATURE_APIC)) {
arch/x86/kernel/apic/apic.c
2534
if (boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/apic/apic.c
284
else if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER))
arch/x86/kernel/apic/apic.c
550
if (!boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER))
arch/x86/kernel/apic/apic.c
552
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/apic/apic.c
663
if (boot_cpu_has(X86_FEATURE_TSC))
arch/x86/kernel/apic/apic.c
724
if (boot_cpu_has(X86_FEATURE_TSC)) {
arch/x86/kernel/apic/apic.c
763
if (!boot_cpu_has(X86_FEATURE_APIC) || apic_is_disabled)
arch/x86/kernel/apic/apic.c
776
if (!boot_cpu_has(X86_FEATURE_ARAT))
arch/x86/kernel/apic/apic.c
780
if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER))
arch/x86/kernel/apic/apic.c
803
if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER))
arch/x86/kernel/apic/apic.c
899
if (boot_cpu_has(X86_FEATURE_TSC)) {
arch/x86/kernel/apic/apic_noop.c
43
WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_APIC) && !apic_is_disabled);
arch/x86/kernel/apic/apic_noop.c
49
WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_APIC) && !apic_is_disabled);
arch/x86/kernel/apic/apic_numachip.c
153
if (boot_cpu_has(X86_FEATURE_NODEID_MSR)) {
arch/x86/kernel/apic/io_apic.c
1344
if (boot_cpu_has(X86_FEATURE_APIC) || apic_from_smp_config())
arch/x86/kernel/apic/io_apic.c
1527
if (boot_cpu_has(X86_FEATURE_TSC))
arch/x86/kernel/apic/probe_32.c
25
if (APIC_XAPIC(ver) || boot_cpu_has(X86_FEATURE_EXTD_APICID))
arch/x86/kernel/apic/vector.c
1291
if (boot_cpu_has(X86_FEATURE_EXTAPIC)) {
arch/x86/kernel/apic/vector.c
1378
if (!boot_cpu_has(X86_FEATURE_APIC) && !apic_from_smp_config())
arch/x86/kernel/cpu/acrn.c
38
return boot_cpu_has(X86_FEATURE_X2APIC);
arch/x86/kernel/cpu/amd.c
1077
if (boot_cpu_has(X86_FEATURE_ZEN1))
arch/x86/kernel/cpu/amd.c
1079
else if (boot_cpu_has(X86_FEATURE_ZEN2))
arch/x86/kernel/cpu/amd.c
1081
else if (boot_cpu_has(X86_FEATURE_ZEN3))
arch/x86/kernel/cpu/amd.c
1083
else if (boot_cpu_has(X86_FEATURE_ZEN4))
arch/x86/kernel/cpu/amd.c
1085
else if (boot_cpu_has(X86_FEATURE_ZEN5))
arch/x86/kernel/cpu/amd.c
453
if (!boot_cpu_has(X86_FEATURE_AMD_SSBD) &&
arch/x86/kernel/cpu/amd.c
454
!boot_cpu_has(X86_FEATURE_VIRT_SSBD) &&
arch/x86/kernel/cpu/amd.c
655
if (boot_cpu_has(X86_FEATURE_APIC)) {
arch/x86/kernel/cpu/amd.c
683
if (c->x86 == 0x17 && boot_cpu_has(X86_FEATURE_AMD_IBPB))
arch/x86/kernel/cpu/bugs.c
1037
if (!boot_cpu_has(X86_FEATURE_SMAP))
arch/x86/kernel/cpu/bugs.c
1046
if (boot_cpu_has(X86_BUG_CPU_MELTDOWN))
arch/x86/kernel/cpu/bugs.c
1079
if (boot_cpu_has(X86_FEATURE_FSGSBASE) ||
arch/x86/kernel/cpu/bugs.c
1090
!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/cpu/bugs.c
1236
if (!boot_cpu_has(X86_FEATURE_IBPB)) {
arch/x86/kernel/cpu/bugs.c
1271
boot_cpu_has(X86_FEATURE_IBPB))
arch/x86/kernel/cpu/bugs.c
1277
if (boot_cpu_has(X86_FEATURE_IBRS_ENHANCED))
arch/x86/kernel/cpu/bugs.c
1279
else if (boot_cpu_has(X86_FEATURE_IBRS))
arch/x86/kernel/cpu/bugs.c
1386
if (mitigate_smt && !boot_cpu_has(X86_FEATURE_STIBP) &&
arch/x86/kernel/cpu/bugs.c
1512
if (!boot_cpu_has(X86_FEATURE_RETPOLINE))
arch/x86/kernel/cpu/bugs.c
1600
if (!boot_cpu_has(X86_FEATURE_VERW_CLEAR))
arch/x86/kernel/cpu/bugs.c
1756
if (!boot_cpu_has(X86_FEATURE_IBPB) && !boot_cpu_has(X86_FEATURE_STIBP))
arch/x86/kernel/cpu/bugs.c
1805
boot_cpu_has(X86_FEATURE_AMD_STIBP_ALWAYS_ON))
arch/x86/kernel/cpu/bugs.c
1808
if (!boot_cpu_has(X86_FEATURE_IBPB))
arch/x86/kernel/cpu/bugs.c
1811
if (!boot_cpu_has(X86_FEATURE_STIBP))
arch/x86/kernel/cpu/bugs.c
1817
if (!boot_cpu_has(X86_FEATURE_IBPB) && !boot_cpu_has(X86_FEATURE_STIBP))
arch/x86/kernel/cpu/bugs.c
1841
if (!boot_cpu_has(X86_FEATURE_STIBP) ||
arch/x86/kernel/cpu/bugs.c
1844
!boot_cpu_has(X86_FEATURE_AUTOIBRS))) {
arch/x86/kernel/cpu/bugs.c
1966
if (!boot_cpu_has(X86_FEATURE_RRSBA_CTRL))
arch/x86/kernel/cpu/bugs.c
2030
if (!boot_cpu_has(X86_FEATURE_BHI_CTRL))
arch/x86/kernel/cpu/bugs.c
2070
if (!boot_cpu_has(X86_BUG_BHI))
arch/x86/kernel/cpu/bugs.c
2098
if (boot_cpu_has(X86_FEATURE_RETPOLINE) &&
arch/x86/kernel/cpu/bugs.c
2099
!boot_cpu_has(X86_FEATURE_RETPOLINE_LFENCE)) {
arch/x86/kernel/cpu/bugs.c
2138
!boot_cpu_has(X86_FEATURE_IBRS_ENHANCED)) {
arch/x86/kernel/cpu/bugs.c
2145
!boot_cpu_has(X86_FEATURE_LFENCE_RDTSC)) {
arch/x86/kernel/cpu/bugs.c
2160
if (spectre_v2_cmd == SPECTRE_V2_CMD_IBRS && !boot_cpu_has(X86_FEATURE_IBRS)) {
arch/x86/kernel/cpu/bugs.c
2184
if (boot_cpu_has(X86_FEATURE_IBRS_ENHANCED)) {
arch/x86/kernel/cpu/bugs.c
2231
boot_cpu_has(X86_FEATURE_IBRS) &&
arch/x86/kernel/cpu/bugs.c
2247
if (boot_cpu_has(X86_FEATURE_AUTOIBRS)) {
arch/x86/kernel/cpu/bugs.c
226
if (boot_cpu_has(X86_FEATURE_VIRT_SSBD))
arch/x86/kernel/cpu/bugs.c
2264
if (boot_cpu_has(X86_FEATURE_IBRS_ENHANCED))
arch/x86/kernel/cpu/bugs.c
228
else if (boot_cpu_has(X86_FEATURE_LS_CFG_SSBD))
arch/x86/kernel/cpu/bugs.c
2303
boot_cpu_has(X86_FEATURE_IBPB) &&
arch/x86/kernel/cpu/bugs.c
2312
} else if (boot_cpu_has(X86_FEATURE_IBRS) &&
arch/x86/kernel/cpu/bugs.c
2440
if (!boot_cpu_has(X86_FEATURE_SSBD))
arch/x86/kernel/cpu/bugs.c
2709
if (boot_cpu_has(X86_FEATURE_MSR_SPEC_CTRL))
arch/x86/kernel/cpu/bugs.c
2911
!boot_cpu_has(X86_FEATURE_SRSO_USER_KERNEL_NO))) {
arch/x86/kernel/cpu/bugs.c
2928
if (!boot_cpu_has(X86_FEATURE_IBPB_BRTYPE)) {
arch/x86/kernel/cpu/bugs.c
2946
if (boot_cpu_has(X86_FEATURE_SRSO_USER_KERNEL_NO)) {
arch/x86/kernel/cpu/bugs.c
2958
if (boot_cpu_has(X86_FEATURE_SRSO_BP_SPEC_REDUCE)) {
arch/x86/kernel/cpu/bugs.c
2982
boot_cpu_has(X86_FEATURE_IBPB_BRTYPE))
arch/x86/kernel/cpu/bugs.c
2998
if (boot_cpu_has(X86_FEATURE_SBPB))
arch/x86/kernel/cpu/bugs.c
3088
!boot_cpu_has(X86_FEATURE_IBPB)) {
arch/x86/kernel/cpu/bugs.c
3152
if (sched_smt_active() && !boot_cpu_has(X86_BUG_MSBDS_ONLY))
arch/x86/kernel/cpu/bugs.c
3218
!boot_cpu_has(X86_FEATURE_AUTOIBRS)))
arch/x86/kernel/cpu/bugs.c
3353
if (!boot_cpu_has(X86_FEATURE_MSR_IA32_FEAT_CTL) ||
arch/x86/kernel/cpu/bugs.c
3354
!boot_cpu_has(X86_FEATURE_VMX))
arch/x86/kernel/cpu/bugs.c
3377
if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) {
arch/x86/kernel/cpu/bugs.c
3382
if (boot_cpu_has(X86_BUG_MSBDS_ONLY)) {
arch/x86/kernel/cpu/bugs.c
3398
if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) {
arch/x86/kernel/cpu/bugs.c
3412
if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) {
arch/x86/kernel/cpu/bugs.c
3428
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/bugs.c
3442
!boot_cpu_has(X86_FEATURE_AUTOIBRS))
arch/x86/kernel/cpu/bugs.c
3462
if (boot_cpu_has(X86_FEATURE_IBPB)) {
arch/x86/kernel/cpu/bugs.c
3475
if (boot_cpu_has(X86_FEATURE_RSB_VMEXIT_LITE) ||
arch/x86/kernel/cpu/bugs.c
3476
boot_cpu_has(X86_FEATURE_RSB_VMEXIT))
arch/x86/kernel/cpu/bugs.c
3489
else if (boot_cpu_has(X86_FEATURE_CLEAR_BHB_HW))
arch/x86/kernel/cpu/bugs.c
3491
else if (boot_cpu_has(X86_FEATURE_CLEAR_BHB_LOOP))
arch/x86/kernel/cpu/bugs.c
3493
else if (boot_cpu_has(X86_FEATURE_RETPOLINE) &&
arch/x86/kernel/cpu/bugs.c
3494
!boot_cpu_has(X86_FEATURE_RETPOLINE_LFENCE) &&
arch/x86/kernel/cpu/bugs.c
3497
else if (boot_cpu_has(X86_FEATURE_CLEAR_BHB_VMEXIT))
arch/x86/kernel/cpu/bugs.c
3515
boot_cpu_has(X86_FEATURE_USE_IBRS_FW) ? "; IBRS_FW" : "",
arch/x86/kernel/cpu/bugs.c
3517
boot_cpu_has(X86_FEATURE_RSB_CTXSW) ? "; RSB filling" : "",
arch/x86/kernel/cpu/bugs.c
3575
if (boot_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/cpu/bugs.c
3593
if (boot_cpu_has(X86_FEATURE_L1TF_PTEINV))
arch/x86/kernel/cpu/bugs.c
378
if (!boot_cpu_has(X86_FEATURE_MD_CLEAR))
arch/x86/kernel/cpu/bugs.c
391
if (!boot_cpu_has(X86_BUG_MSBDS_ONLY) &&
arch/x86/kernel/cpu/bugs.c
432
return boot_cpu_has_bug(X86_BUG_TAA) && boot_cpu_has(X86_FEATURE_RTM);
arch/x86/kernel/cpu/bugs.c
443
if (!boot_cpu_has(X86_FEATURE_RTM)) {
arch/x86/kernel/cpu/bugs.c
470
if (!boot_cpu_has(X86_FEATURE_MD_CLEAR))
arch/x86/kernel/cpu/bugs.c
584
(boot_cpu_has(X86_FEATURE_MD_CLEAR) &&
arch/x86/kernel/cpu/bugs.c
585
boot_cpu_has(X86_FEATURE_FLUSH_L1D) &&
arch/x86/kernel/cpu/bugs.c
750
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/bugs.c
760
if (!boot_cpu_has(X86_FEATURE_SRBDS_CTRL))
arch/x86/kernel/cpu/bugs.c
801
if ((x86_arch_cap_msr & ARCH_CAP_MDS_NO) && !boot_cpu_has(X86_FEATURE_RTM) &&
arch/x86/kernel/cpu/bugs.c
804
else if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/bugs.c
806
else if (!boot_cpu_has(X86_FEATURE_SRBDS_CTRL))
arch/x86/kernel/cpu/bugs.c
844
if (!l1d_flush_mitigation || !boot_cpu_has(X86_FEATURE_FLUSH_L1D))
arch/x86/kernel/cpu/bugs.c
937
if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) {
arch/x86/kernel/cpu/bus_lock.c
118
if (!boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT) &&
arch/x86/kernel/cpu/bus_lock.c
119
!boot_cpu_has(X86_FEATURE_BUS_LOCK_DETECT))
arch/x86/kernel/cpu/bus_lock.c
299
if (!boot_cpu_has(X86_FEATURE_BUS_LOCK_DETECT))
arch/x86/kernel/cpu/bus_lock.c
304
if ((boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT) &&
arch/x86/kernel/cpu/bus_lock.c
364
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/bus_lock.c
394
if (!boot_cpu_has(X86_FEATURE_BUS_LOCK_DETECT) &&
arch/x86/kernel/cpu/bus_lock.c
395
!boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT))
arch/x86/kernel/cpu/bus_lock.c
403
if (boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT)) {
arch/x86/kernel/cpu/bus_lock.c
408
} else if (boot_cpu_has(X86_FEATURE_BUS_LOCK_DETECT)) {
arch/x86/kernel/cpu/bus_lock.c
413
if (boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT))
arch/x86/kernel/cpu/bus_lock.c
415
else if (boot_cpu_has(X86_FEATURE_BUS_LOCK_DETECT))
arch/x86/kernel/cpu/bus_lock.c
419
if (boot_cpu_has(X86_FEATURE_BUS_LOCK_DETECT))
arch/x86/kernel/cpu/cacheinfo.c
198
if (boot_cpu_has(X86_FEATURE_AMD_DCM)) {
arch/x86/kernel/cpu/cacheinfo.c
247
if (boot_cpu_has(X86_FEATURE_TOPOEXT) || boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)
arch/x86/kernel/cpu/cacheinfo.c
355
if (boot_cpu_has(X86_FEATURE_TOPOEXT))
arch/x86/kernel/cpu/cacheinfo.c
512
} else if (boot_cpu_has(X86_FEATURE_TOPOEXT)) {
arch/x86/kernel/cpu/common.c
1360
if (boot_cpu_has(X86_FEATURE_ARCH_CAPABILITIES))
arch/x86/kernel/cpu/common.c
1400
if (boot_cpu_has(X86_FEATURE_BHI_CTRL))
arch/x86/kernel/cpu/common.c
1408
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/common.c
1438
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/common.c
1569
boot_cpu_has(X86_FEATURE_AVX))
arch/x86/kernel/cpu/common.c
1581
(boot_cpu_has(X86_FEATURE_IBRS_ENHANCED) ||
arch/x86/kernel/cpu/common.c
1582
boot_cpu_has(X86_FEATURE_HYPERVISOR)))
arch/x86/kernel/cpu/common.c
1609
!boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/common.c
2133
if (!boot_cpu_has(X86_FEATURE_SEP))
arch/x86/kernel/cpu/common.c
2356
if (boot_cpu_has(X86_FEATURE_RDTSCP) || boot_cpu_has(X86_FEATURE_RDPID))
arch/x86/kernel/cpu/common.c
2476
boot_cpu_has(X86_FEATURE_TSC) || boot_cpu_has(X86_FEATURE_DE))
arch/x86/kernel/cpu/common.c
264
if (!boot_cpu_has(X86_FEATURE_PCID))
arch/x86/kernel/cpu/common.c
281
if (!boot_cpu_has(X86_FEATURE_INVPCID))
arch/x86/kernel/cpu/common.c
519
if (boot_cpu_has(X86_FEATURE_PCID))
arch/x86/kernel/cpu/common.c
548
if (!boot_cpu_has(X86_FEATURE_FSGSBASE))
arch/x86/kernel/cpu/cpuid-deps.c
125
if (boot_cpu_has(feature))
arch/x86/kernel/cpu/cyrix.c
335
p = Cx486_name[!!boot_cpu_has(X86_FEATURE_FPU)];
arch/x86/kernel/cpu/hygon.c
109
if (!boot_cpu_has(X86_FEATURE_AMD_SSBD) &&
arch/x86/kernel/cpu/hygon.c
110
!boot_cpu_has(X86_FEATURE_VIRT_SSBD)) {
arch/x86/kernel/cpu/hygon.c
159
if (boot_cpu_has(X86_FEATURE_APIC))
arch/x86/kernel/cpu/intel.c
446
if (boot_cpu_has(X86_FEATURE_APIC) && c->x86_vfm == INTEL_PENTIUM_75 &&
arch/x86/kernel/cpu/intel.c
552
if (boot_cpu_has(X86_FEATURE_DS)) {
arch/x86/kernel/cpu/intel.c
562
if (boot_cpu_has(X86_FEATURE_CLFLUSH) &&
arch/x86/kernel/cpu/intel.c
568
if (boot_cpu_has(X86_FEATURE_MWAIT) &&
arch/x86/kernel/cpu/intel_epb.c
225
if (!boot_cpu_has(X86_FEATURE_EPB))
arch/x86/kernel/cpu/mce/apei.c
76
if (!boot_cpu_has(X86_FEATURE_SMCA))
arch/x86/kernel/cpu/mce/dev-mcelog.c
297
if (!boot_cpu_has(X86_FEATURE_MCE) || !boot_cpu_has(X86_FEATURE_MCA))
arch/x86/kernel/cpu/mce/inject.c
481
if (boot_cpu_has(X86_FEATURE_SMCA)) {
arch/x86/kernel/cpu/mce/inject.c
547
if (boot_cpu_has(X86_FEATURE_AMD_DCM) &&
arch/x86/kernel/cpu/mce/intel.c
94
if (!boot_cpu_has(X86_FEATURE_APIC) || lapic_get_maxlvt() < 6)
arch/x86/kernel/cpu/mshyperv.c
344
if (!boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/cpu/mtrr/cyrix.c
142
if (boot_cpu_has(X86_FEATURE_PGE)) {
arch/x86/kernel/cpu/mtrr/cyrix.c
175
if (boot_cpu_has(X86_FEATURE_PGE))
arch/x86/kernel/cpu/proc.c
47
str_yes_no(boot_cpu_has(X86_FEATURE_FPU)),
arch/x86/kernel/cpu/proc.c
48
str_yes_no(boot_cpu_has(X86_FEATURE_FPU)),
arch/x86/kernel/cpu/resctrl/core.c
226
if (boot_cpu_has(X86_FEATURE_PER_THREAD_MBA))
arch/x86/kernel/cpu/resctrl/core.c
862
bool ret = boot_cpu_has(flag);
arch/x86/kernel/cpu/resctrl/core.c
932
if (!boot_cpu_has(X86_FEATURE_RDT_A))
arch/x86/kernel/cpu/topology_amd.c
119
if (!boot_cpu_has(X86_FEATURE_HYPERVISOR) && tscan->c->x86_model <= 0x3) {
arch/x86/kernel/cpu/topology_amd.c
139
if (!boot_cpu_has(X86_FEATURE_NODEID_MSR))
arch/x86/kernel/cpu/topology_amd.c
79
if (!boot_cpu_has(X86_FEATURE_TOPOEXT))
arch/x86/kernel/cpu/tsx.c
127
if (boot_cpu_has(X86_FEATURE_RTM_ALWAYS_ABORT) &&
arch/x86/kernel/cpu/tsx.c
128
boot_cpu_has(X86_FEATURE_TSX_FORCE_ABORT)) {
arch/x86/kernel/cpu/tsx.c
198
if (boot_cpu_has(X86_FEATURE_RTM_ALWAYS_ABORT)) {
arch/x86/kernel/cpu/umwait.c
213
if (!boot_cpu_has(X86_FEATURE_WAITPKG))
arch/x86/kernel/cpu/vmware.c
464
if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) {
arch/x86/kernel/devicetree.c
162
if (!boot_cpu_has(X86_FEATURE_APIC)) {
arch/x86/kernel/dumpstack.c
425
(boot_cpu_has(X86_FEATURE_PTI) ? " PTI" : " NOPTI") : "");
arch/x86/kernel/fpu/bugs.c
33
if (!boot_cpu_has(X86_FEATURE_FPU))
arch/x86/kernel/fpu/core.c
491
if (likely(kfpu_mask & KFPU_MXCSR) && boot_cpu_has(X86_FEATURE_XMM))
arch/x86/kernel/fpu/core.c
494
if (unlikely(kfpu_mask & KFPU_387) && boot_cpu_has(X86_FEATURE_FPU))
arch/x86/kernel/fpu/core.c
954
if (boot_cpu_has(X86_FEATURE_FXSR)) {
arch/x86/kernel/fpu/core.c
972
if (boot_cpu_has(X86_FEATURE_XMM))
arch/x86/kernel/fpu/init.c
107
if (boot_cpu_has(X86_FEATURE_FXSR)) {
arch/x86/kernel/fpu/init.c
25
if (boot_cpu_has(X86_FEATURE_FXSR))
arch/x86/kernel/fpu/init.c
27
if (boot_cpu_has(X86_FEATURE_XMM))
arch/x86/kernel/fpu/init.c
34
if (!boot_cpu_has(X86_FEATURE_FPU))
arch/x86/kernel/fpu/init.c
40
if (!boot_cpu_has(X86_FEATURE_FPU))
arch/x86/kernel/fpu/init.c
81
if (!boot_cpu_has(X86_FEATURE_CPUID) &&
arch/x86/kernel/fpu/regset.c
30
if (boot_cpu_has(X86_FEATURE_FXSR))
arch/x86/kernel/fpu/xstate.c
1036
if (!boot_cpu_has(X86_FEATURE_XSAVE))
arch/x86/kernel/fpu/xstate.c
207
if (!boot_cpu_has(X86_FEATURE_XSAVE) || !fpu_kernel_cfg.max_features)
arch/x86/kernel/fpu/xstate.c
232
if (boot_cpu_has(X86_FEATURE_XSAVES)) {
arch/x86/kernel/fpu/xstate.c
390
if (!boot_cpu_has(X86_FEATURE_XSAVE))
arch/x86/kernel/fpu/xstate.c
813
if (!boot_cpu_has(X86_FEATURE_FPU)) {
arch/x86/kernel/fpu/xstate.c
818
if (!boot_cpu_has(X86_FEATURE_XSAVE)) {
arch/x86/kernel/fpu/xstate.c
820
boot_cpu_has(X86_FEATURE_FXSR) ? "FXSAVE" : "FSAVE");
arch/x86/kernel/fpu/xstate.c
868
if ((i != XFEATURE_FP && !cid) || !boot_cpu_has(cid))
arch/x86/kernel/fpu/xstate.c
961
boot_cpu_has(X86_FEATURE_XCOMPACTED) ? "compacted" : "standard");
arch/x86/kernel/hpet.c
705
if (hpet_msi_disable || boot_cpu_has(X86_FEATURE_ARAT))
arch/x86/kernel/hw_breakpoint.c
403
if (!boot_cpu_has(X86_FEATURE_BPEXT))
arch/x86/kernel/i8253.c
34
if (!IS_ENABLED(CONFIG_X86_TSC) || !boot_cpu_has(X86_FEATURE_TSC))
arch/x86/kernel/jailhouse.c
49
!boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/kprobes/opt.c
83
if (!boot_cpu_has(X86_FEATURE_SMAP))
arch/x86/kernel/kvm.c
497
!boot_cpu_has(X86_FEATURE_MWAIT) &&
arch/x86/kernel/kvm.c
512
!boot_cpu_has(X86_FEATURE_MWAIT) &&
arch/x86/kernel/kvm.c
897
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/kvmclock.c
343
if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC) &&
arch/x86/kernel/kvmclock.c
344
boot_cpu_has(X86_FEATURE_NONSTOP_TSC) &&
arch/x86/kernel/ldt.c
200
if (boot_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/ldt.c
208
if (boot_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/ldt.c
243
if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt)
arch/x86/kernel/ldt.c
268
if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt)
arch/x86/kernel/ldt.c
295
if (!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/ldt.c
358
if (!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/ldt.c
400
if (!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/machine_kexec_32.c
226
boot_cpu_has(X86_FEATURE_PAE),
arch/x86/kernel/paravirt-spinlocks.c
16
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
arch/x86/kernel/process.c
397
if (!boot_cpu_has(X86_FEATURE_CPUID_FAULT))
arch/x86/kernel/process.c
988
if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC))
arch/x86/kernel/process_64.c
459
if (boot_cpu_has(X86_FEATURE_FSGSBASE)) {
arch/x86/kernel/process_64.c
474
if (boot_cpu_has(X86_FEATURE_FSGSBASE)) {
arch/x86/kernel/process_64.c
491
else if (boot_cpu_has(X86_FEATURE_FSGSBASE) ||
arch/x86/kernel/process_64.c
506
else if (boot_cpu_has(X86_FEATURE_FSGSBASE) ||
arch/x86/kernel/setup.c
849
if (boot_cpu_has(X86_FEATURE_NX))
arch/x86/kernel/setup.c
857
if (!boot_cpu_has(X86_FEATURE_NX)) {
arch/x86/kernel/signal_64.c
153
if (boot_cpu_has(X86_FEATURE_XSAVE))
arch/x86/kernel/smpboot.c
343
if (boot_cpu_has(X86_FEATURE_TOPOEXT)) {
arch/x86/kernel/traps.c
1552
if (!boot_cpu_has(X86_FEATURE_FPU) && (cr0 & X86_CR0_EM)) {
arch/x86/kernel/tsc.c
1069
if (!boot_cpu_has(X86_FEATURE_TSC))
arch/x86/kernel/tsc.c
1071
if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC))
arch/x86/kernel/tsc.c
1098
if (boot_cpu_has(X86_FEATURE_HYPERVISOR) ||
arch/x86/kernel/tsc.c
1099
!boot_cpu_has(X86_FEATURE_NONSTOP_TSC) ||
arch/x86/kernel/tsc.c
1100
!boot_cpu_has(X86_FEATURE_TSC_ADJUST) ||
arch/x86/kernel/tsc.c
1257
if (boot_cpu_has(X86_FEATURE_TSC_RELIABLE))
arch/x86/kernel/tsc.c
1268
if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC) &&
arch/x86/kernel/tsc.c
1269
boot_cpu_has(X86_FEATURE_NONSTOP_TSC) &&
arch/x86/kernel/tsc.c
1270
boot_cpu_has(X86_FEATURE_TSC_ADJUST) &&
arch/x86/kernel/tsc.c
1281
if (!boot_cpu_has(X86_FEATURE_TSC) || tsc_unstable)
arch/x86/kernel/tsc.c
1289
if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC))
arch/x86/kernel/tsc.c
1370
if (boot_cpu_has(X86_FEATURE_TSC_KNOWN_FREQ)) {
arch/x86/kernel/tsc.c
1408
if (boot_cpu_has(X86_FEATURE_ART)) {
arch/x86/kernel/tsc.c
1420
if (!boot_cpu_has(X86_FEATURE_TSC) || !tsc_khz)
arch/x86/kernel/tsc.c
1428
if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC_S3))
arch/x86/kernel/tsc.c
1435
if (boot_cpu_has(X86_FEATURE_TSC_KNOWN_FREQ)) {
arch/x86/kernel/tsc.c
1436
if (boot_cpu_has(X86_FEATURE_ART)) {
arch/x86/kernel/tsc.c
1521
if (!boot_cpu_has(X86_FEATURE_TSC))
arch/x86/kernel/tsc.c
952
if (!boot_cpu_has(X86_FEATURE_TSC))
arch/x86/kernel/tsc_sync.c
162
if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST))
arch/x86/kernel/tsc_sync.c
188
if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST))
arch/x86/kernel/tsc_sync.c
365
if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST))
arch/x86/kernel/tsc_sync.c
56
if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST))
arch/x86/kernel/vm86_32.c
333
if (boot_cpu_has(X86_FEATURE_SEP)) {
arch/x86/kvm/cpuid.c
1016
if (boot_cpu_has(X86_FEATURE_AMD_IBPB_RET) &&
arch/x86/kvm/cpuid.c
1017
boot_cpu_has(X86_FEATURE_AMD_IBPB) &&
arch/x86/kvm/cpuid.c
1018
boot_cpu_has(X86_FEATURE_AMD_IBRS))
arch/x86/kvm/cpuid.c
1020
if (boot_cpu_has(X86_FEATURE_STIBP))
arch/x86/kvm/cpuid.c
1022
if (boot_cpu_has(X86_FEATURE_AMD_SSBD))
arch/x86/kvm/cpuid.c
1183
if (boot_cpu_has(X86_FEATURE_IBPB)) {
arch/x86/kvm/cpuid.c
1185
if (boot_cpu_has(X86_FEATURE_SPEC_CTRL) &&
arch/x86/kvm/cpuid.c
1189
if (boot_cpu_has(X86_FEATURE_IBRS))
arch/x86/kvm/cpuid.c
1191
if (boot_cpu_has(X86_FEATURE_STIBP))
arch/x86/kvm/cpuid.c
1193
if (boot_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD))
arch/x86/kvm/cpuid.c
1201
if (boot_cpu_has(X86_FEATURE_LS_CFG_SSBD) &&
arch/x86/kvm/cpuid.c
1202
!boot_cpu_has(X86_FEATURE_AMD_SSBD))
arch/x86/kvm/cpuid.c
427
allow_gbpages = tdp_enabled ? boot_cpu_has(X86_FEATURE_GBPAGES) :
arch/x86/kvm/cpuid.c
749
if (boot_cpu_has(X86_FEATURE_##name)) \
arch/x86/kvm/cpuid.c
781
if (boot_cpu_has(X86_FEATURE_##name)) \
arch/x86/kvm/cpuid.c
975
if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE))
arch/x86/kvm/cpuid.h
225
if (boot_cpu_has(x86_feature))
arch/x86/kvm/mmu/mmu.c
5495
boot_cpu_has(X86_FEATURE_GBPAGES),
arch/x86/kvm/mmu/mmu.c
6616
else if (boot_cpu_has(X86_FEATURE_GBPAGES))
arch/x86/kvm/pmu.c
271
(boot_cpu_has(X86_FEATURE_RTM) || boot_cpu_has(X86_FEATURE_HLE))) {
arch/x86/kvm/svm/avic.c
1235
avic = boot_cpu_has(X86_FEATURE_X2AVIC) &&
arch/x86/kvm/svm/avic.c
1242
if (!boot_cpu_has(X86_FEATURE_AVIC) && !force_avic) {
arch/x86/kvm/svm/avic.c
1243
if (boot_cpu_has(X86_FEATURE_X2AVIC))
arch/x86/kvm/svm/avic.c
1249
!boot_cpu_has(X86_FEATURE_HV_INUSE_WR_ALLOWED)) {
arch/x86/kvm/svm/avic.c
1259
if (!boot_cpu_has(X86_FEATURE_AVIC))
arch/x86/kvm/svm/avic.c
1280
x2avic_enabled = boot_cpu_has(X86_FEATURE_X2AVIC);
arch/x86/kvm/svm/nested.c
865
else if (boot_cpu_has(X86_FEATURE_NRIPS))
arch/x86/kvm/svm/sev.c
3019
if (!boot_cpu_has(X86_FEATURE_SEV) ||
arch/x86/kvm/svm/sev.c
3020
WARN_ON_ONCE(!boot_cpu_has(X86_FEATURE_DECODEASSISTS)) ||
arch/x86/kvm/svm/sev.c
3021
WARN_ON_ONCE(!boot_cpu_has(X86_FEATURE_FLUSHBYASID)))
arch/x86/kvm/svm/sev.c
3086
if (!boot_cpu_has(X86_FEATURE_SEV_ES))
arch/x86/kvm/svm/sev.c
3090
WARN_ONCE(!boot_cpu_has(X86_FEATURE_LBRV),
arch/x86/kvm/svm/sev.c
3141
if (boot_cpu_has(X86_FEATURE_SEV))
arch/x86/kvm/svm/sev.c
3147
if (boot_cpu_has(X86_FEATURE_SEV_ES))
arch/x86/kvm/svm/sev.c
3153
if (boot_cpu_has(X86_FEATURE_SEV_SNP))
arch/x86/kvm/svm/sev.c
3222
if (boot_cpu_has(X86_FEATURE_SME_COHERENT)) {
arch/x86/kvm/svm/sev.c
4561
if (boot_cpu_has(X86_FEATURE_V_TSC_AUX))
arch/x86/kvm/svm/svm.c
1407
(!boot_cpu_has(X86_FEATURE_V_TSC_AUX) || !sev_es_guest(vcpu->kvm)))
arch/x86/kvm/svm/svm.c
2659
if (!boot_cpu_has(X86_FEATURE_DECODEASSISTS))
arch/x86/kvm/svm/svm.c
2824
if (boot_cpu_has(X86_FEATURE_V_SPEC_CTRL))
arch/x86/kvm/svm/svm.c
2956
if (boot_cpu_has(X86_FEATURE_V_SPEC_CTRL))
arch/x86/kvm/svm/svm.c
3046
if (boot_cpu_has(X86_FEATURE_V_TSC_AUX) && sev_es_guest(vcpu->kvm))
arch/x86/kvm/svm/svm.c
4517
boot_cpu_has(X86_FEATURE_XSAVES) &&
arch/x86/kvm/svm/svm.c
5345
if (boot_cpu_has(X86_FEATURE_PAUSEFILTER))
arch/x86/kvm/svm/svm.c
5348
if (boot_cpu_has(X86_FEATURE_PFTHRESHOLD))
arch/x86/kvm/svm/svm.c
5365
if (boot_cpu_has(X86_FEATURE_LS_CFG_SSBD) ||
arch/x86/kvm/svm/svm.c
5366
boot_cpu_has(X86_FEATURE_AMD_SSBD))
arch/x86/kvm/svm/svm.c
5409
if (!boot_cpu_has(X86_FEATURE_NX)) {
arch/x86/kvm/svm/svm.c
5418
if (boot_cpu_has(X86_FEATURE_FXSR_OPT))
arch/x86/kvm/svm/svm.c
5422
if (!boot_cpu_has(X86_FEATURE_TSCRATEMSR)) {
arch/x86/kvm/svm/svm.c
5434
if (boot_cpu_has(X86_FEATURE_AUTOIBRS))
arch/x86/kvm/svm/svm.c
5438
if (!boot_cpu_has(X86_FEATURE_PAUSEFILTER)) {
arch/x86/kvm/svm/svm.c
5441
} else if (!boot_cpu_has(X86_FEATURE_PFTHRESHOLD)) {
arch/x86/kvm/svm/svm.c
5448
if (!boot_cpu_has(X86_FEATURE_EFER_LMSLE_MBZ))
arch/x86/kvm/svm/svm.c
5464
if (!boot_cpu_has(X86_FEATURE_NPT))
arch/x86/kvm/svm/svm.c
5492
nrips = nrips && boot_cpu_has(X86_FEATURE_NRIPS);
arch/x86/kvm/svm/svm.c
5495
if (!boot_cpu_has(X86_FEATURE_LBRV))
arch/x86/kvm/svm/svm.c
5525
!boot_cpu_has(X86_FEATURE_V_VMSAVE_VMLOAD) ||
arch/x86/kvm/svm/svm.c
5533
if (boot_cpu_has(X86_FEATURE_SVME_ADDR_CHK))
arch/x86/kvm/svm/svm.c
5537
if (!boot_cpu_has(X86_FEATURE_VGIF))
arch/x86/kvm/svm/svm.c
5543
vnmi = vgif && vnmi && boot_cpu_has(X86_FEATURE_VNMI);
arch/x86/kvm/vmx/capabilities.h
164
return !boot_cpu_has(X86_FEATURE_UMIP) &&
arch/x86/kvm/vmx/capabilities.h
404
return boot_cpu_has(X86_FEATURE_PEBS) && kvm_pmu_cap.pebs_ept &&
arch/x86/kvm/vmx/pmu_intel.c
535
(boot_cpu_has(X86_FEATURE_HLE) || boot_cpu_has(X86_FEATURE_RTM)) &&
arch/x86/kvm/vmx/pmu_intel.c
763
if (boot_cpu_has(X86_FEATURE_PDCM))
arch/x86/kvm/vmx/sgx.c
114
if (trapnr == PF_VECTOR && !boot_cpu_has(X86_FEATURE_SGX2)) {
arch/x86/kvm/vmx/sgx.c
125
if ((trapnr == PF_VECTOR || !boot_cpu_has(X86_FEATURE_SGX2)) &&
arch/x86/kvm/vmx/sgx.c
414
if (!enable_sgx || boot_cpu_has(X86_FEATURE_SGX_LC) ||
arch/x86/kvm/vmx/sgx.c
501
if (boot_cpu_has(X86_FEATURE_SGX_LC))
arch/x86/kvm/vmx/vmx.c
2029
vmx_setup_uret_msr(vmx, MSR_IA32_TSX_CTRL, boot_cpu_has(X86_FEATURE_RTM));
arch/x86/kvm/vmx/vmx.c
2298
if (boot_cpu_has(X86_FEATURE_BUS_LOCK_DETECT) &&
arch/x86/kvm/vmx/vmx.c
2306
if (boot_cpu_has(X86_FEATURE_RTM) &&
arch/x86/kvm/vmx/vmx.c
273
!boot_cpu_has(X86_FEATURE_FLUSH_L1D)) {
arch/x86/kvm/vmx/vmx.c
350
if (!boot_cpu_has(X86_BUG_L1TF))
arch/x86/kvm/vmx/vmx.c
5423
if (!boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT))
arch/x86/kvm/vmx/vmx.c
7799
if (boot_cpu_has(X86_FEATURE_RTM)) {
arch/x86/kvm/vmx/vmx.c
7878
if (boot_cpu_has(X86_BUG_L1TF) && enable_ept) {
arch/x86/kvm/vmx/vmx.c
8102
if (boot_cpu_has(X86_FEATURE_INTEL_PT) &&
arch/x86/kvm/vmx/vmx.c
8106
if (boot_cpu_has(X86_FEATURE_RTM)) {
arch/x86/kvm/vmx/vmx.c
8142
if (boot_cpu_has(X86_FEATURE_PDCM))
arch/x86/kvm/vmx/vmx.c
8702
if (boot_cpu_has(X86_FEATURE_NX))
arch/x86/kvm/vmx/vmx.c
8705
if (boot_cpu_has(X86_FEATURE_MPX)) {
arch/x86/kvm/vmx/vmx.c
8725
if (!enable_ept && !boot_cpu_has(X86_FEATURE_NX)) {
arch/x86/kvm/x86.c
10061
if (!boot_cpu_has(X86_FEATURE_FPU) || !boot_cpu_has(X86_FEATURE_FXSR)) {
arch/x86/kvm/x86.c
10066
if (IS_ENABLED(CONFIG_PREEMPT_RT) && !boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) {
arch/x86/kvm/x86.c
10084
if (boot_cpu_has(X86_FEATURE_SHSTK) || boot_cpu_has(X86_FEATURE_IBT)) {
arch/x86/kvm/x86.c
10111
if (boot_cpu_has(X86_FEATURE_XSAVE)) {
arch/x86/kvm/x86.c
10116
if (boot_cpu_has(X86_FEATURE_XSAVES)) {
arch/x86/kvm/x86.c
10128
if (boot_cpu_has(X86_FEATURE_ARCH_CAPABILITIES))
arch/x86/kvm/x86.c
10211
if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) {
arch/x86/kvm/x86.c
1671
if (!boot_cpu_has(X86_FEATURE_RTM)) {
arch/x86/kvm/x86.c
3974
if (!boot_cpu_has(X86_FEATURE_IBPB))
arch/x86/kvm/x86.c
3977
if (!boot_cpu_has(X86_FEATURE_SBPB))
arch/x86/kvm/x86.c
3994
if (!boot_cpu_has(X86_FEATURE_FLUSH_L1D) || (data & ~L1D_FLUSH))
arch/x86/kvm/x86.c
4733
return boot_cpu_has(X86_FEATURE_MWAIT) &&
arch/x86/kvm/x86.c
4735
boot_cpu_has(X86_FEATURE_ARAT);
arch/x86/kvm/x86.c
4742
if (boot_cpu_has(X86_FEATURE_APERFMPERF))
arch/x86/kvm/x86.c
4939
r = boot_cpu_has(X86_FEATURE_XSAVE);
arch/x86/kvm/x86.c
5850
if (!boot_cpu_has(X86_FEATURE_XSAVE)) {
arch/x86/kvm/x86.c
5871
if (!boot_cpu_has(X86_FEATURE_XSAVE))
arch/x86/kvm/x86.c
8337
if (boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT))
arch/x86/kvm/x86.c
9757
WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_CONSTANT_TSC));
arch/x86/kvm/x86.c
9782
if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) {
arch/x86/kvm/x86.c
9904
if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) {
arch/x86/mm/cpu_entry_area.c
91
if (boot_cpu_has(X86_FEATURE_PGE) &&
arch/x86/mm/dump_pagetables.c
484
if (user && boot_cpu_has(X86_FEATURE_PTI))
arch/x86/mm/dump_pagetables.c
496
!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/mm/hugetlbpage.c
28
else if (size == PUD_SIZE && boot_cpu_has(X86_FEATURE_GBPAGES))
arch/x86/mm/hugetlbpage.c
38
if (boot_cpu_has(X86_FEATURE_GBPAGES))
arch/x86/mm/hugetlbpage.c
48
if (boot_cpu_has(X86_FEATURE_GBPAGES))
arch/x86/mm/init.c
231
if (boot_cpu_has(X86_FEATURE_PSE) && !debug_pagealloc_enabled())
arch/x86/mm/init.c
237
if (boot_cpu_has(X86_FEATURE_PSE))
arch/x86/mm/init.c
242
if (boot_cpu_has(X86_FEATURE_PGE)) {
arch/x86/mm/init.c
254
if (direct_gbpages && boot_cpu_has(X86_FEATURE_GBPAGES)) {
arch/x86/mm/init.c
283
if (!boot_cpu_has(X86_FEATURE_PCID))
arch/x86/mm/init.c
295
if (boot_cpu_has(X86_FEATURE_PGE)) {
arch/x86/mm/init_32.c
285
if (!boot_cpu_has(X86_FEATURE_PSE))
arch/x86/mm/init_64.c
1568
else if (boot_cpu_has(X86_FEATURE_PSE))
arch/x86/mm/init_64.c
1625
if (!boot_cpu_has(X86_FEATURE_PSE) || !pmd_leaf(*pmd)) {
arch/x86/mm/kasan_init_64.c
45
if (boot_cpu_has(X86_FEATURE_PSE) &&
arch/x86/mm/kasan_init_64.c
81
if (boot_cpu_has(X86_FEATURE_GBPAGES) &&
arch/x86/mm/pat/memtype.c
228
if (!boot_cpu_has(X86_FEATURE_PAT)) {
arch/x86/mm/pat/set_memory.c
1702
while (boot_cpu_has(X86_FEATURE_GBPAGES) && end - start >= PUD_SIZE) {
arch/x86/mm/pgtable.c
133
#define PREALLOCATED_USER_PMDS (boot_cpu_has(X86_FEATURE_PTI) ? \
arch/x86/mm/pgtable.c
243
if (!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/mm/pti.c
379
if (boot_cpu_has(X86_FEATURE_PGE))
arch/x86/mm/pti.c
410
if (boot_cpu_has(X86_FEATURE_PGE))
arch/x86/mm/pti.c
545
if (boot_cpu_has(X86_FEATURE_K8))
arch/x86/mm/pti.c
622
if (!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/mm/pti.c
675
if (!boot_cpu_has(X86_FEATURE_PTI))
arch/x86/mm/tlb.c
1099
WARN_ON(boot_cpu_has(X86_FEATURE_PCID) &&
arch/x86/mm/tlb.c
1643
if (boot_cpu_has(X86_FEATURE_INVPCID) && cpu_pcide)
arch/x86/mm/tlb.c
182
VM_WARN_ON_ONCE(!boot_cpu_has(X86_FEATURE_PCID));
arch/x86/net/bpf_jit_comp.c
1997
if (boot_cpu_has(X86_FEATURE_BMI2) && src_reg != BPF_REG_4) {
arch/x86/net/bpf_jit_comp32.c
1907
if (boot_cpu_has(X86_FEATURE_XMM2))
arch/x86/pci/xen.c
526
((eax & XEN_HVM_CPUID_APIC_ACCESS_VIRT) && boot_cpu_has(X86_FEATURE_APIC)))
arch/x86/power/cpu.c
176
if (boot_cpu_has(X86_FEATURE_SEP))
arch/x86/power/cpu.c
509
if (boot_cpu_has(msr_enum[i].feature))
arch/x86/power/hibernate_32.c
109
if (boot_cpu_has(X86_FEATURE_PSE)) {
arch/x86/power/hibernate_32.c
157
if (boot_cpu_has(X86_FEATURE_PSE)) {
arch/x86/realmode/init.c
30
if (boot_cpu_has(X86_FEATURE_PCID))
arch/x86/virt/vmx/tdx/tdx.c
1195
if (!boot_cpu_has(X86_FEATURE_TDX_HOST_PLATFORM))
arch/x86/virt/vmx/tdx/tdx.c
1268
if (!boot_cpu_has(X86_FEATURE_TDX_HOST_PLATFORM))
arch/x86/virt/vmx/tdx/tdx.c
160
if (!boot_cpu_has(X86_FEATURE_TDX_HOST_PLATFORM))
arch/x86/xen/suspend.c
42
if (xen_pv_domain() && boot_cpu_has(X86_FEATURE_SPEC_CTRL))
arch/x86/xen/suspend.c
58
if (xen_pv_domain() && boot_cpu_has(X86_FEATURE_SPEC_CTRL)) {
arch/x86/xen/time.c
496
if (!(boot_cpu_has(X86_FEATURE_CONSTANT_TSC)))
arch/x86/xen/time.c
499
if (!(boot_cpu_has(X86_FEATURE_NONSTOP_TSC)))
drivers/acpi/acpi_pad.c
48
if (!boot_cpu_has(X86_FEATURE_MWAIT))
drivers/acpi/acpi_pad.c
78
if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC))
drivers/acpi/processor_idle.c
205
if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC))
drivers/acpi/processor_idle.c
528
if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
drivers/acpi/processor_perflib.c
452
if(boot_cpu_has(X86_FEATURE_EST))
drivers/acpi/resource.c
754
if (boot_cpu_has(X86_FEATURE_ZEN))
drivers/char/hw_random/via-rng.c
139
if (!boot_cpu_has(X86_FEATURE_XSTORE_EN)) {
drivers/char/hw_random/via-rng.c
199
if (!boot_cpu_has(X86_FEATURE_XSTORE))
drivers/cpufreq/acpi-cpufreq.c
979
if (!(boot_cpu_has(X86_FEATURE_CPB) || boot_cpu_has(X86_FEATURE_IDA))) {
drivers/cpufreq/amd-pstate-ut.c
65
if (!boot_cpu_has(X86_FEATURE_CPPC))
drivers/cpufreq/amd_freq_sensitivity.c
126
if (!boot_cpu_has(X86_FEATURE_PROC_FEEDBACK))
drivers/cpufreq/intel_pstate.c
1311
if (boot_cpu_has(X86_FEATURE_HWP_EPP)) {
drivers/cpufreq/intel_pstate.c
1330
if (boot_cpu_has(X86_FEATURE_HWP_EPP)) {
drivers/cpufreq/intel_pstate.c
1362
if (boot_cpu_has(X86_FEATURE_HWP_EPP))
drivers/cpufreq/intel_pstate.c
1837
if (!boot_cpu_has(X86_FEATURE_HYBRID_CPU)) {
drivers/cpufreq/intel_pstate.c
1871
if (!boot_cpu_has(X86_FEATURE_HYBRID_CPU)) {
drivers/cpufreq/intel_pstate.c
1989
if (boot_cpu_has(X86_FEATURE_HWP_NOTIFY)) {
drivers/cpufreq/intel_pstate.c
2040
if (boot_cpu_has(X86_FEATURE_HWP_NOTIFY))
drivers/cpufreq/intel_pstate.c
3744
if (boot_cpu_has(X86_FEATURE_HWP_EPP))
drivers/cpufreq/intel_pstate.c
3904
} else if (boot_cpu_has(X86_FEATURE_HYBRID_CPU)) {
drivers/cpufreq/intel_pstate.c
629
if (boot_cpu_has(X86_FEATURE_HWP_EPP)) {
drivers/cpufreq/intel_pstate.c
692
if (boot_cpu_has(X86_FEATURE_HWP_EPP)) {
drivers/cpufreq/intel_pstate.c
703
} else if (boot_cpu_has(X86_FEATURE_EPB)) {
drivers/cpufreq/intel_pstate.c
756
if (boot_cpu_has(X86_FEATURE_HWP_EPP)) {
drivers/cpufreq/intel_pstate.c
809
if (!boot_cpu_has(X86_FEATURE_HWP_EPP))
drivers/cpufreq/longhaul.c
934
if (boot_cpu_has(X86_FEATURE_APIC)) {
drivers/cpufreq/p4-clockmod.c
250
if (!x86_match_cpu(cpufreq_p4_id) || !boot_cpu_has(X86_FEATURE_ACPI))
drivers/cpufreq/powernow-k8.c
1176
if (boot_cpu_has(X86_FEATURE_HW_PSTATE)) {
drivers/crypto/ccp/sev-dev-tsm.c
382
ret, t->tio_en, t->tio_init_done, boot_cpu_has(X86_FEATURE_SEV));
drivers/crypto/ccp/sev-dev.c
2688
if (!boot_cpu_has(X86_FEATURE_SEV)) {
drivers/crypto/padlock-aes.c
491
if (!boot_cpu_has(X86_FEATURE_XCRYPT_EN)) {
drivers/crypto/padlock-sha.c
332
if (!x86_match_cpu(padlock_sha_ids) || !boot_cpu_has(X86_FEATURE_PHE_EN))
drivers/dma/ioat/dca.c
76
if (boot_cpu_has(X86_FEATURE_DCA))
drivers/edac/mce_amd.c
818
if (boot_cpu_has(X86_FEATURE_SMCA)) {
drivers/edac/mce_amd.c
851
if (boot_cpu_has(X86_FEATURE_SMCA)) {
drivers/edac/mce_amd.c
936
if (boot_cpu_has(X86_FEATURE_SMCA)) {
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
418
return boot_cpu_has(X86_FEATURE_HYPERVISOR);
drivers/gpu/drm/drm_cache.c
336
!boot_cpu_has(X86_FEATURE_HYPERVISOR))
drivers/gpu/drm/gma500/mmu.c
453
if (boot_cpu_has(X86_FEATURE_CLFLUSH)) {
drivers/gpu/drm/i915/i915_memcpy.c
170
!boot_cpu_has(X86_FEATURE_HYPERVISOR))
drivers/gpu/drm/radeon/radeon_device.c
641
return boot_cpu_has(X86_FEATURE_HYPERVISOR);
drivers/hwmon/fam15h_power.c
301
if (boot_cpu_has(X86_FEATURE_ACC_POWER))
drivers/hwmon/fam15h_power.c
318
if (boot_cpu_has(X86_FEATURE_ACC_POWER)) {
drivers/hwmon/fam15h_power.c
416
if (!boot_cpu_has(X86_FEATURE_ACC_POWER))
drivers/idle/intel_idle.c
1709
if (boot_cpu_has(X86_FEATURE_ARAT))
drivers/idle/intel_idle.c
1838
if (cx->type > ACPI_STATE_C1 && !boot_cpu_has(X86_FEATURE_NONSTOP_TSC))
drivers/idle/intel_idle.c
2105
if (mwait_cstate > 2 && !boot_cpu_has(X86_FEATURE_NONSTOP_TSC))
drivers/idle/intel_idle.c
2301
if (!boot_cpu_has(X86_FEATURE_ARAT))
drivers/idle/intel_idle.c
2617
if (!boot_cpu_has(X86_FEATURE_MWAIT)) {
drivers/idle/intel_idle.c
2683
boot_cpu_has(X86_FEATURE_ARAT) ? "all C-states" : "C1");
drivers/iommu/amd/init.c
3205
if (!boot_cpu_has(X86_FEATURE_CX16)) {
drivers/iommu/intel/irq_remapping.c
785
if (boot_cpu_has(X86_FEATURE_CX16))
drivers/iommu/irq_remapping.c
41
if (boot_cpu_has(X86_FEATURE_APIC) || apic_from_smp_config())
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
1143
boot_cpu_has(X86_FEATURE_ART))
drivers/net/ethernet/intel/e1000e/ptp.c
316
if (hw->mac.type >= e1000_pch_spt && boot_cpu_has(X86_FEATURE_ART))
drivers/net/ethernet/intel/ice/ice_ptp.c
2522
if (pcie_ptm_enabled(pf->pdev) && boot_cpu_has(X86_FEATURE_ART))
drivers/net/ethernet/intel/idpf/idpf_ptp.c
804
boot_cpu_has(X86_FEATURE_ART) &&
drivers/net/ethernet/intel/idpf/idpf_ptp.c
805
boot_cpu_has(X86_FEATURE_TSC_KNOWN_FREQ))
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
1320
MLX5_CAP_MCAM_REG3(mdev, mtctr) && boot_cpu_has(X86_FEATURE_ART)) {
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
463
if (boot_cpu_has(X86_FEATURE_ART)) {
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
715
if (boot_cpu_has(X86_FEATURE_ART))
drivers/powercap/intel_rapl_common.c
1025
if (!boot_cpu_has(X86_FEATURE_PTS) || !boot_cpu_has(X86_FEATURE_PLN))
drivers/powercap/intel_rapl_common.c
1042
if (!boot_cpu_has(X86_FEATURE_PTS) || !boot_cpu_has(X86_FEATURE_PLN))
drivers/thermal/intel/intel_hfi.c
540
if (!boot_cpu_has(X86_FEATURE_HFI))
drivers/thermal/intel/therm_throt.c
221
if (boot_cpu_has(X86_FEATURE_TM2))
drivers/thermal/intel/therm_throt.c
225
if (boot_cpu_has(X86_FEATURE_PLN))
drivers/thermal/intel/therm_throt.c
232
if (boot_cpu_has(X86_FEATURE_HWP))
drivers/thermal/intel/therm_throt.c
248
if (boot_cpu_has(X86_FEATURE_PTS))
drivers/thermal/intel/therm_throt.c
255
if (boot_cpu_has(X86_FEATURE_HFI))
drivers/thermal/intel/therm_throt.c
694
if (!boot_cpu_has(X86_FEATURE_APIC))
lib/atomic64_test.c
262
boot_cpu_has(X86_FEATURE_CX8) ? "with" : "without",
lib/atomic64_test.c
263
boot_cpu_has(X86_FEATURE_XMM) ? "with" : "without");
lib/crc/x86/crc-pclmul-template.h
29
return boot_cpu_has(X86_FEATURE_VPCLMULQDQ) &&
lib/crc/x86/crc-pclmul-template.h
30
boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crc/x86/crc-pclmul-template.h
36
return boot_cpu_has(X86_FEATURE_AVX512BW) &&
lib/crc/x86/crc-pclmul-template.h
37
boot_cpu_has(X86_FEATURE_AVX512VL) &&
lib/crc/x86/crc-pclmul-template.h
38
!boot_cpu_has(X86_FEATURE_PREFER_YMM) &&
lib/crc/x86/crc-t10dif.h
24
if (boot_cpu_has(X86_FEATURE_PCLMULQDQ)) {
lib/crc/x86/crc32.h
111
if (boot_cpu_has(X86_FEATURE_XMM4_2))
lib/crc/x86/crc32.h
113
if (boot_cpu_has(X86_FEATURE_PCLMULQDQ)) {
lib/crc/x86/crc64.h
32
if (boot_cpu_has(X86_FEATURE_PCLMULQDQ)) {
lib/crypto/x86/aes.h
83
if (boot_cpu_has(X86_FEATURE_AES))
lib/crypto/x86/blake2s.h
52
if (boot_cpu_has(X86_FEATURE_SSSE3))
lib/crypto/x86/blake2s.h
55
if (boot_cpu_has(X86_FEATURE_AVX) &&
lib/crypto/x86/blake2s.h
56
boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/blake2s.h
57
boot_cpu_has(X86_FEATURE_AVX512F) &&
lib/crypto/x86/blake2s.h
58
boot_cpu_has(X86_FEATURE_AVX512VL) &&
lib/crypto/x86/chacha.h
162
if (!boot_cpu_has(X86_FEATURE_SSSE3))
lib/crypto/x86/chacha.h
167
if (boot_cpu_has(X86_FEATURE_AVX) &&
lib/crypto/x86/chacha.h
168
boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/chacha.h
172
if (boot_cpu_has(X86_FEATURE_AVX512VL) &&
lib/crypto/x86/chacha.h
173
boot_cpu_has(X86_FEATURE_AVX512BW)) /* kmovq */
lib/crypto/x86/curve25519.h
1611
if (boot_cpu_has(X86_FEATURE_BMI2) && boot_cpu_has(X86_FEATURE_ADX))
lib/crypto/x86/nh.h
38
if (boot_cpu_has(X86_FEATURE_XMM2)) {
lib/crypto/x86/nh.h
40
if (boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/poly1305.h
146
if (boot_cpu_has(X86_FEATURE_AVX) &&
lib/crypto/x86/poly1305.h
149
if (boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/poly1305.h
152
if (boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/poly1305.h
153
boot_cpu_has(X86_FEATURE_AVX512F) &&
lib/crypto/x86/polyval.h
80
if (boot_cpu_has(X86_FEATURE_PCLMULQDQ) &&
lib/crypto/x86/polyval.h
81
boot_cpu_has(X86_FEATURE_AVX))
lib/crypto/x86/sha1.h
60
if (boot_cpu_has(X86_FEATURE_SHA_NI)) {
lib/crypto/x86/sha1.h
64
boot_cpu_has(X86_FEATURE_AVX)) {
lib/crypto/x86/sha1.h
65
if (boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/sha1.h
66
boot_cpu_has(X86_FEATURE_BMI1) &&
lib/crypto/x86/sha1.h
67
boot_cpu_has(X86_FEATURE_BMI2))
lib/crypto/x86/sha1.h
71
} else if (boot_cpu_has(X86_FEATURE_SSSE3)) {
lib/crypto/x86/sha256.h
79
if (boot_cpu_has(X86_FEATURE_SHA_NI)) {
lib/crypto/x86/sha256.h
84
boot_cpu_has(X86_FEATURE_AVX)) {
lib/crypto/x86/sha256.h
85
if (boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/sha256.h
86
boot_cpu_has(X86_FEATURE_BMI2))
lib/crypto/x86/sha256.h
92
} else if (boot_cpu_has(X86_FEATURE_SSSE3)) {
lib/crypto/x86/sha512.h
41
boot_cpu_has(X86_FEATURE_AVX)) {
lib/crypto/x86/sha512.h
42
if (boot_cpu_has(X86_FEATURE_AVX2) &&
lib/crypto/x86/sha512.h
43
boot_cpu_has(X86_FEATURE_BMI2))
lib/crypto/x86/sha512.h
49
} else if (boot_cpu_has(X86_FEATURE_SSSE3)) {
lib/raid6/avx2.c
28
return boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has(X86_FEATURE_AVX);
lib/raid6/avx512.c
34
return boot_cpu_has(X86_FEATURE_AVX2) &&
lib/raid6/avx512.c
35
boot_cpu_has(X86_FEATURE_AVX) &&
lib/raid6/avx512.c
36
boot_cpu_has(X86_FEATURE_AVX512F) &&
lib/raid6/avx512.c
37
boot_cpu_has(X86_FEATURE_AVX512BW) &&
lib/raid6/avx512.c
38
boot_cpu_has(X86_FEATURE_AVX512VL) &&
lib/raid6/avx512.c
39
boot_cpu_has(X86_FEATURE_AVX512DQ);
lib/raid6/mmx.c
29
return boot_cpu_has(X86_FEATURE_MMX);
lib/raid6/recov_avx2.c
12
return boot_cpu_has(X86_FEATURE_AVX2) &&
lib/raid6/recov_avx2.c
13
boot_cpu_has(X86_FEATURE_AVX);
lib/raid6/recov_avx512.c
14
return boot_cpu_has(X86_FEATURE_AVX2) &&
lib/raid6/recov_avx512.c
15
boot_cpu_has(X86_FEATURE_AVX) &&
lib/raid6/recov_avx512.c
16
boot_cpu_has(X86_FEATURE_AVX512F) &&
lib/raid6/recov_avx512.c
17
boot_cpu_has(X86_FEATURE_AVX512BW) &&
lib/raid6/recov_avx512.c
18
boot_cpu_has(X86_FEATURE_AVX512VL) &&
lib/raid6/recov_avx512.c
19
boot_cpu_has(X86_FEATURE_AVX512DQ);
lib/raid6/recov_ssse3.c
11
return boot_cpu_has(X86_FEATURE_XMM) &&
lib/raid6/recov_ssse3.c
12
boot_cpu_has(X86_FEATURE_XMM2) &&
lib/raid6/recov_ssse3.c
13
boot_cpu_has(X86_FEATURE_SSSE3);
lib/raid6/sse1.c
32
return boot_cpu_has(X86_FEATURE_MMX) &&
lib/raid6/sse1.c
33
(boot_cpu_has(X86_FEATURE_XMM) ||
lib/raid6/sse1.c
34
boot_cpu_has(X86_FEATURE_MMXEXT));
lib/raid6/sse2.c
27
return boot_cpu_has(X86_FEATURE_MMX) &&
lib/raid6/sse2.c
28
boot_cpu_has(X86_FEATURE_FXSR) &&
lib/raid6/sse2.c
29
boot_cpu_has(X86_FEATURE_XMM) &&
lib/raid6/sse2.c
30
boot_cpu_has(X86_FEATURE_XMM2);
net/netfilter/nft_set_pipapo.c
533
if (boot_cpu_has(X86_FEATURE_AVX2) && irq_fpu_usable()) {
net/netfilter/nft_set_pipapo_avx2.c
1102
if (!boot_cpu_has(X86_FEATURE_AVX2))
sound/hda/controllers/intel.c
1904
if (bus->ppcap && boot_cpu_has(X86_FEATURE_ART))