boot_cpu_has 272 arch/x86/crypto/aegis128-aesni-glue.c if (!boot_cpu_has(X86_FEATURE_XMM2) || boot_cpu_has 273 arch/x86/crypto/aegis128-aesni-glue.c !boot_cpu_has(X86_FEATURE_AES) || boot_cpu_has 1093 arch/x86/crypto/aesni-intel_glue.c if (boot_cpu_has(X86_FEATURE_AVX2)) { boot_cpu_has 1099 arch/x86/crypto/aesni-intel_glue.c if (boot_cpu_has(X86_FEATURE_AVX)) { boot_cpu_has 1110 arch/x86/crypto/aesni-intel_glue.c if (boot_cpu_has(X86_FEATURE_AVX)) { boot_cpu_has 264 arch/x86/crypto/camellia_aesni_avx2_glue.c if (!boot_cpu_has(X86_FEATURE_AVX) || boot_cpu_has 265 arch/x86/crypto/camellia_aesni_avx2_glue.c !boot_cpu_has(X86_FEATURE_AVX2) || boot_cpu_has 266 arch/x86/crypto/camellia_aesni_avx2_glue.c !boot_cpu_has(X86_FEATURE_AES) || boot_cpu_has 267 arch/x86/crypto/camellia_aesni_avx2_glue.c !boot_cpu_has(X86_FEATURE_OSXSAVE)) { boot_cpu_has 290 arch/x86/crypto/camellia_aesni_avx_glue.c if (!boot_cpu_has(X86_FEATURE_AVX) || boot_cpu_has 291 arch/x86/crypto/camellia_aesni_avx_glue.c !boot_cpu_has(X86_FEATURE_AES) || boot_cpu_has 292 arch/x86/crypto/camellia_aesni_avx_glue.c !boot_cpu_has(X86_FEATURE_OSXSAVE)) { boot_cpu_has 268 arch/x86/crypto/chacha_glue.c if (!boot_cpu_has(X86_FEATURE_SSSE3)) boot_cpu_has 272 arch/x86/crypto/chacha_glue.c chacha_use_avx2 = boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has 273 arch/x86/crypto/chacha_glue.c boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has 277 arch/x86/crypto/chacha_glue.c boot_cpu_has(X86_FEATURE_AVX512VL) && boot_cpu_has 278 arch/x86/crypto/chacha_glue.c boot_cpu_has(X86_FEATURE_AVX512BW); /* kmovq */ boot_cpu_has 236 arch/x86/crypto/crc32c-intel_glue.c if (boot_cpu_has(X86_FEATURE_PCLMULQDQ)) { boot_cpu_has 59 arch/x86/crypto/nhpoly1305-avx2-glue.c if (!boot_cpu_has(X86_FEATURE_AVX2) || boot_cpu_has 60 arch/x86/crypto/nhpoly1305-avx2-glue.c !boot_cpu_has(X86_FEATURE_OSXSAVE)) boot_cpu_has 59 arch/x86/crypto/nhpoly1305-sse2-glue.c if (!boot_cpu_has(X86_FEATURE_XMM2)) boot_cpu_has 177 arch/x86/crypto/poly1305_glue.c if (!boot_cpu_has(X86_FEATURE_XMM2)) boot_cpu_has 181 arch/x86/crypto/poly1305_glue.c poly1305_use_avx2 = boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has 182 arch/x86/crypto/poly1305_glue.c boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has 249 arch/x86/crypto/serpent_avx2_glue.c if (!boot_cpu_has(X86_FEATURE_AVX2) || !boot_cpu_has(X86_FEATURE_OSXSAVE)) { boot_cpu_has 204 arch/x86/crypto/serpent_sse2_glue.c if (!boot_cpu_has(X86_FEATURE_XMM2)) { boot_cpu_has 110 arch/x86/crypto/sha1_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SSSE3)) boot_cpu_has 117 arch/x86/crypto/sha1_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SSSE3)) boot_cpu_has 163 arch/x86/crypto/sha1_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_AVX)) boot_cpu_has 198 arch/x86/crypto/sha1_ssse3_glue.c if (avx_usable() && boot_cpu_has(X86_FEATURE_AVX2) boot_cpu_has 199 arch/x86/crypto/sha1_ssse3_glue.c && boot_cpu_has(X86_FEATURE_BMI1) boot_cpu_has 200 arch/x86/crypto/sha1_ssse3_glue.c && boot_cpu_has(X86_FEATURE_BMI2)) boot_cpu_has 310 arch/x86/crypto/sha1_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SHA_NI)) boot_cpu_has 317 arch/x86/crypto/sha1_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SHA_NI)) boot_cpu_has 134 arch/x86/crypto/sha256_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SSSE3)) boot_cpu_has 142 arch/x86/crypto/sha256_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SSSE3)) boot_cpu_has 201 arch/x86/crypto/sha256_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_AVX)) boot_cpu_has 282 arch/x86/crypto/sha256_ssse3_glue.c if (avx_usable() && boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has 283 arch/x86/crypto/sha256_ssse3_glue.c boot_cpu_has(X86_FEATURE_BMI2)) boot_cpu_has 362 arch/x86/crypto/sha256_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SHA_NI)) boot_cpu_has 370 arch/x86/crypto/sha256_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SHA_NI)) boot_cpu_has 133 arch/x86/crypto/sha512_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SSSE3)) boot_cpu_has 141 arch/x86/crypto/sha512_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_SSSE3)) boot_cpu_has 152 arch/x86/crypto/sha512_ssse3_glue.c if (boot_cpu_has(X86_FEATURE_AVX)) boot_cpu_has 281 arch/x86/crypto/sha512_ssse3_glue.c if (avx_usable() && boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has 282 arch/x86/crypto/sha512_ssse3_glue.c boot_cpu_has(X86_FEATURE_BMI2)) boot_cpu_has 292 arch/x86/events/amd/core.c if (!boot_cpu_has(X86_FEATURE_PERFCTR_CORE)) boot_cpu_has 939 arch/x86/events/amd/core.c if (!boot_cpu_has(X86_FEATURE_PERFCTR_CORE)) boot_cpu_has 761 arch/x86/events/amd/ibs.c if (!boot_cpu_has(X86_FEATURE_IBS)) boot_cpu_has 273 arch/x86/events/amd/power.c if (!boot_cpu_has(X86_FEATURE_ACC_POWER)) boot_cpu_has 520 arch/x86/events/amd/uncore.c if (!boot_cpu_has(X86_FEATURE_TOPOEXT)) boot_cpu_has 550 arch/x86/events/amd/uncore.c if (boot_cpu_has(X86_FEATURE_PERFCTR_NB)) { boot_cpu_has 566 arch/x86/events/amd/uncore.c if (boot_cpu_has(X86_FEATURE_PERFCTR_LLC)) { boot_cpu_has 606 arch/x86/events/amd/uncore.c if (boot_cpu_has(X86_FEATURE_PERFCTR_NB)) boot_cpu_has 269 arch/x86/events/core.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) { boot_cpu_has 1625 arch/x86/events/core.c if (boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 582 arch/x86/events/intel/bts.c if (!boot_cpu_has(X86_FEATURE_DTES64) || !x86_pmu.bts) boot_cpu_has 585 arch/x86/events/intel/bts.c if (boot_cpu_has(X86_FEATURE_PTI)) { boot_cpu_has 3423 arch/x86/events/intel/core.c if (!boot_cpu_has(X86_FEATURE_RTM) && !boot_cpu_has(X86_FEATURE_HLE)) boot_cpu_has 4078 arch/x86/events/intel/core.c if (!boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 4429 arch/x86/events/intel/core.c return boot_cpu_has(X86_FEATURE_RTM) ? attr->mode : 0; boot_cpu_has 4571 arch/x86/events/intel/core.c int assume = 3 * !boot_cpu_has(X86_FEATURE_HYPERVISOR); boot_cpu_has 4580 arch/x86/events/intel/core.c if (boot_cpu_has(X86_FEATURE_PDCM)) { boot_cpu_has 4909 arch/x86/events/intel/core.c extra_attr = boot_cpu_has(X86_FEATURE_RTM) ? boot_cpu_has 4951 arch/x86/events/intel/core.c extra_attr = boot_cpu_has(X86_FEATURE_RTM) ? boot_cpu_has 5012 arch/x86/events/intel/core.c extra_attr = boot_cpu_has(X86_FEATURE_RTM) ? boot_cpu_has 5020 arch/x86/events/intel/core.c if (boot_cpu_has(X86_FEATURE_TSX_FORCE_ABORT)) { boot_cpu_has 5055 arch/x86/events/intel/core.c extra_attr = boot_cpu_has(X86_FEATURE_RTM) ? boot_cpu_has 735 arch/x86/events/intel/cstate.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 2006 arch/x86/events/intel/ds.c if (!boot_cpu_has(X86_FEATURE_DTES64)) boot_cpu_has 2009 arch/x86/events/intel/ds.c x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); boot_cpu_has 2010 arch/x86/events/intel/ds.c x86_pmu.pebs = boot_cpu_has(X86_FEATURE_PEBS); boot_cpu_has 270 arch/x86/events/intel/lbr.c bool tsx_support = boot_cpu_has(X86_FEATURE_HLE) || boot_cpu_has 271 arch/x86/events/intel/lbr.c boot_cpu_has(X86_FEATURE_RTM); boot_cpu_has 218 arch/x86/events/intel/pt.c if (boot_cpu_has(X86_FEATURE_VMX)) { boot_cpu_has 1578 arch/x86/events/intel/pt.c if (!boot_cpu_has(X86_FEATURE_INTEL_PT)) boot_cpu_has 1524 arch/x86/events/intel/uncore.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 22 arch/x86/events/msr.c return boot_cpu_has(X86_FEATURE_APERFMPERF); boot_cpu_has 27 arch/x86/events/msr.c return boot_cpu_has(X86_FEATURE_PTSC); boot_cpu_has 32 arch/x86/events/msr.c return boot_cpu_has(X86_FEATURE_IRPERF); boot_cpu_has 37 arch/x86/events/msr.c return boot_cpu_has(X86_FEATURE_DTHERM); boot_cpu_has 293 arch/x86/events/msr.c if (!boot_cpu_has(X86_FEATURE_TSC)) { boot_cpu_has 83 arch/x86/include/asm/acpi.h else if (boot_cpu_has(X86_BUG_AMD_APIC_C1E)) boot_cpu_has 266 arch/x86/include/asm/apic.h return boot_cpu_has(X86_FEATURE_X2APIC) && apic_is_x2apic_enabled(); boot_cpu_has 269 arch/x86/include/asm/apic.h #define x2apic_supported() (boot_cpu_has(X86_FEATURE_X2APIC)) boot_cpu_has 469 arch/x86/include/asm/apic.h if (APIC_XAPIC(ver) || boot_cpu_has(X86_FEATURE_EXTD_APICID)) boot_cpu_has 113 arch/x86/include/asm/cmpxchg_32.h #define system_has_cmpxchg_double() boot_cpu_has(X86_FEATURE_CX8) boot_cpu_has 22 arch/x86/include/asm/cmpxchg_64.h #define system_has_cmpxchg_double() boot_cpu_has(X86_FEATURE_CX16) boot_cpu_has 161 arch/x86/include/asm/cpufeature.h #define static_cpu_has(bit) boot_cpu_has(bit) boot_cpu_has 219 arch/x86/include/asm/cpufeature.h __builtin_constant_p(boot_cpu_has(bit)) ? \ boot_cpu_has 220 arch/x86/include/asm/cpufeature.h boot_cpu_has(bit) : \ boot_cpu_has 234 arch/x86/include/asm/cpufeature.h #define cpu_have_feature boot_cpu_has boot_cpu_has 283 arch/x86/include/asm/fpu/internal.h if (boot_cpu_has(X86_FEATURE_XSAVES)) boot_cpu_has 305 arch/x86/include/asm/fpu/internal.h if (boot_cpu_has(X86_FEATURE_XSAVES)) boot_cpu_has 8 arch/x86/include/asm/hugetlb.h #define hugepages_supported() boot_cpu_has(X86_FEATURE_PSE) boot_cpu_has 10 arch/x86/include/asm/irq_work.h return boot_cpu_has(X86_FEATURE_APIC); boot_cpu_has 131 arch/x86/include/asm/pgtable.h if (boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 140 arch/x86/include/asm/pgtable.h if (!boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 272 arch/x86/include/asm/pgtable.h return boot_cpu_has(X86_FEATURE_PSE); boot_cpu_has 7 arch/x86/include/asm/pkeys.h #define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1) boot_cpu_has 14 arch/x86/include/asm/pkeys.h return boot_cpu_has(X86_FEATURE_OSPKE); boot_cpu_has 24 arch/x86/include/asm/pkeys.h if (!boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 35 arch/x86/include/asm/pkeys.h if (!boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 139 arch/x86/include/asm/tlbflush.h VM_WARN_ON_ONCE(!boot_cpu_has(X86_FEATURE_PCID)); boot_cpu_has 484 arch/x86/include/asm/tlbflush.h if (boot_cpu_has(X86_FEATURE_PGE)) { boot_cpu_has 24 arch/x86/include/asm/trace/fpu.h if (boot_cpu_has(X86_FEATURE_OSXSAVE)) { boot_cpu_has 26 arch/x86/include/asm/tsc.h if (!boot_cpu_has(X86_FEATURE_TSC)) boot_cpu_has 97 arch/x86/include/asm/virtext.h if (!boot_cpu_has(X86_FEATURE_SVM)) { boot_cpu_has 545 arch/x86/include/asm/xor_32.h if (boot_cpu_has(X86_FEATURE_XMM)) { \ boot_cpu_has 548 arch/x86/include/asm/xor_32.h } else if (boot_cpu_has(X86_FEATURE_MMX)) { \ boot_cpu_has 166 arch/x86/include/asm/xor_avx.h if (boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_OSXSAVE)) \ boot_cpu_has 171 arch/x86/include/asm/xor_avx.h (boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_OSXSAVE) ? &xor_block_avx : FASTEST) boot_cpu_has 127 arch/x86/kernel/acpi/boot.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 1015 arch/x86/kernel/acpi/boot.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 1043 arch/x86/kernel/acpi/boot.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 1174 arch/x86/kernel/acpi/boot.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 218 arch/x86/kernel/alternative.c } else if (boot_cpu_has(X86_FEATURE_NOPL)) { boot_cpu_has 245 arch/x86/kernel/alternative.c if (boot_cpu_has(X86_FEATURE_K8)) boot_cpu_has 247 arch/x86/kernel/alternative.c else if (boot_cpu_has(X86_FEATURE_K7)) boot_cpu_has 393 arch/x86/kernel/alternative.c if (!boot_cpu_has(a->cpuid)) { boot_cpu_has 764 arch/x86/kernel/alternative.c if (boot_cpu_has(X86_FEATURE_NX) && boot_cpu_has 337 arch/x86/kernel/apic/apic.c else if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) boot_cpu_has 615 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) boot_cpu_has 617 arch/x86/kernel/apic/apic.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 733 arch/x86/kernel/apic/apic.c if (boot_cpu_has(X86_FEATURE_TSC)) boot_cpu_has 794 arch/x86/kernel/apic/apic.c if (boot_cpu_has(X86_FEATURE_TSC)) { boot_cpu_has 834 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC) || disable_apic) boot_cpu_has 847 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_ARAT)) boot_cpu_has 851 arch/x86/kernel/apic/apic.c if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) boot_cpu_has 873 arch/x86/kernel/apic/apic.c if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) boot_cpu_has 972 arch/x86/kernel/apic/apic.c if (boot_cpu_has(X86_FEATURE_TSC)) { boot_cpu_has 1294 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC) && !apic_from_smp_config()) boot_cpu_has 1345 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC)) { boot_cpu_has 1354 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC) && !smp_found_config) { boot_cpu_has 1360 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC) && boot_cpu_has 1413 arch/x86/kernel/apic/apic.c if (smp_found_config || !boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 1798 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 1914 arch/x86/kernel/apic/apic.c } else if (!boot_cpu_has(X86_FEATURE_X2APIC)) { boot_cpu_has 1979 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC)) { boot_cpu_has 2060 arch/x86/kernel/apic/apic.c (boot_cpu_data.x86 == 5 && boot_cpu_has(X86_FEATURE_APIC))) boot_cpu_has 2067 arch/x86/kernel/apic/apic.c if (!boot_cpu_has(X86_FEATURE_APIC)) { boot_cpu_has 2742 arch/x86/kernel/apic/apic.c if (boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 73 arch/x86/kernel/apic/apic_noop.c WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_APIC) && !disable_apic); boot_cpu_has 79 arch/x86/kernel/apic/apic_noop.c WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_APIC) && !disable_apic); boot_cpu_has 178 arch/x86/kernel/apic/apic_numachip.c if (boot_cpu_has(X86_FEATURE_NODEID_MSR)) { boot_cpu_has 1441 arch/x86/kernel/apic/io_apic.c if (boot_cpu_has(X86_FEATURE_APIC) || apic_from_smp_config()) boot_cpu_has 1642 arch/x86/kernel/apic/io_apic.c if (boot_cpu_has(X86_FEATURE_TSC)) boot_cpu_has 319 arch/x86/kernel/apic/ipi.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 1159 arch/x86/kernel/apic/vector.c if (boot_cpu_has(X86_FEATURE_EXTAPIC)) { boot_cpu_has 1246 arch/x86/kernel/apic/vector.c if (!boot_cpu_has(X86_FEATURE_APIC) && !apic_from_smp_config()) boot_cpu_has 342 arch/x86/kernel/cpu/amd.c if (boot_cpu_has(X86_FEATURE_TOPOEXT)) { boot_cpu_has 545 arch/x86/kernel/cpu/amd.c if (boot_cpu_has(X86_FEATURE_TOPOEXT)) { boot_cpu_has 550 arch/x86/kernel/cpu/amd.c } else if (boot_cpu_has(X86_FEATURE_NODEID_MSR)) { boot_cpu_has 557 arch/x86/kernel/cpu/amd.c if (!boot_cpu_has(X86_FEATURE_AMD_SSBD) && boot_cpu_has 558 arch/x86/kernel/cpu/amd.c !boot_cpu_has(X86_FEATURE_VIRT_SSBD) && boot_cpu_has 671 arch/x86/kernel/cpu/amd.c if (boot_cpu_has(X86_FEATURE_APIC)) { boot_cpu_has 1155 arch/x86/kernel/cpu/amd.c if (!boot_cpu_has(X86_FEATURE_BPEXT)) boot_cpu_has 86 arch/x86/kernel/cpu/aperfmperf.c if (!boot_cpu_has(X86_FEATURE_APERFMPERF)) boot_cpu_has 105 arch/x86/kernel/cpu/aperfmperf.c if (!boot_cpu_has(X86_FEATURE_APERFMPERF)) boot_cpu_has 124 arch/x86/kernel/cpu/aperfmperf.c if (!boot_cpu_has(X86_FEATURE_APERFMPERF)) boot_cpu_has 98 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_MSR_SPEC_CTRL)) boot_cpu_has 102 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_STIBP)) boot_cpu_has 221 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_VIRT_SSBD)) boot_cpu_has 223 arch/x86/kernel/cpu/bugs.c else if (boot_cpu_has(X86_FEATURE_LS_CFG_SSBD)) boot_cpu_has 248 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_FEATURE_MD_CLEAR)) boot_cpu_has 253 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_BUG_MSBDS_ONLY) && boot_cpu_has 312 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_FEATURE_RTM)) { boot_cpu_has 330 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_MD_CLEAR)) boot_cpu_has 425 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 460 arch/x86/kernel/cpu/bugs.c if ((ia32_cap & ARCH_CAP_MDS_NO) && !boot_cpu_has(X86_FEATURE_RTM)) boot_cpu_has 462 arch/x86/kernel/cpu/bugs.c else if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 464 arch/x86/kernel/cpu/bugs.c else if (!boot_cpu_has(X86_FEATURE_SRBDS_CTRL)) boot_cpu_has 508 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_FEATURE_SMAP)) boot_cpu_has 517 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_BUG_CPU_MELTDOWN)) boot_cpu_has 556 arch/x86/kernel/cpu/bugs.c !boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 704 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_FEATURE_IBPB) && !boot_cpu_has(X86_FEATURE_STIBP)) boot_cpu_has 733 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_IBPB)) { boot_cpu_has 771 arch/x86/kernel/cpu/bugs.c boot_cpu_has(X86_FEATURE_AMD_STIBP_ALWAYS_ON)) boot_cpu_has 777 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_FEATURE_STIBP)) boot_cpu_has 877 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_IBRS_ENHANCED)) { boot_cpu_has 907 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_FEATURE_LFENCE_RDTSC)) { boot_cpu_has 946 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_IBRS) && mode != SPECTRE_V2_IBRS_ENHANCED) { boot_cpu_has 1032 arch/x86/kernel/cpu/bugs.c if (sched_smt_active() && !boot_cpu_has(X86_BUG_MSBDS_ONLY)) boot_cpu_has 1123 arch/x86/kernel/cpu/bugs.c if (!boot_cpu_has(X86_FEATURE_SSBD)) boot_cpu_has 1384 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_MSR_SPEC_CTRL)) boot_cpu_has 1571 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) { boot_cpu_has 1576 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_BUG_MSBDS_ONLY)) { boot_cpu_has 1592 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) { boot_cpu_has 1623 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_IBPB)) { boot_cpu_has 1646 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 1660 arch/x86/kernel/cpu/bugs.c boot_cpu_has(X86_FEATURE_USE_IBRS_FW) ? ", IBRS_FW" : "", boot_cpu_has 1662 arch/x86/kernel/cpu/bugs.c boot_cpu_has(X86_FEATURE_RSB_CTXSW) ? ", RSB filling" : "", boot_cpu_has 1669 arch/x86/kernel/cpu/bugs.c if (boot_cpu_has(X86_FEATURE_L1TF_PTEINV)) boot_cpu_has 276 arch/x86/kernel/cpu/cacheinfo.c if (boot_cpu_has(X86_FEATURE_AMD_DCM)) { boot_cpu_has 601 arch/x86/kernel/cpu/cacheinfo.c if (boot_cpu_has(X86_FEATURE_TOPOEXT)) boot_cpu_has 706 arch/x86/kernel/cpu/cacheinfo.c if (boot_cpu_has(X86_FEATURE_TOPOEXT)) { boot_cpu_has 901 arch/x86/kernel/cpu/cacheinfo.c } else if (boot_cpu_has(X86_FEATURE_TOPOEXT)) { boot_cpu_has 175 arch/x86/kernel/cpu/common.c if (!boot_cpu_has(X86_FEATURE_MPX)) boot_cpu_has 192 arch/x86/kernel/cpu/common.c if (!boot_cpu_has(X86_FEATURE_PCID)) boot_cpu_has 209 arch/x86/kernel/cpu/common.c if (!boot_cpu_has(X86_FEATURE_INVPCID)) boot_cpu_has 415 arch/x86/kernel/cpu/common.c if (boot_cpu_has(X86_FEATURE_PCID)) boot_cpu_has 1128 arch/x86/kernel/cpu/common.c if (boot_cpu_has(X86_FEATURE_ARCH_CAPABILITIES)) boot_cpu_has 1597 arch/x86/kernel/cpu/common.c if (!boot_cpu_has(X86_FEATURE_SEP)) boot_cpu_has 1829 arch/x86/kernel/cpu/common.c if (boot_cpu_has(X86_FEATURE_RDTSCP)) boot_cpu_has 1962 arch/x86/kernel/cpu/common.c boot_cpu_has(X86_FEATURE_TSC) || boot_cpu_has 1963 arch/x86/kernel/cpu/common.c boot_cpu_has(X86_FEATURE_DE)) boot_cpu_has 340 arch/x86/kernel/cpu/cyrix.c p = Cx486_name[!!boot_cpu_has(X86_FEATURE_FPU)]; boot_cpu_has 71 arch/x86/kernel/cpu/hygon.c if (boot_cpu_has(X86_FEATURE_TOPOEXT)) { boot_cpu_has 234 arch/x86/kernel/cpu/hygon.c if (boot_cpu_has(X86_FEATURE_TOPOEXT)) { boot_cpu_has 239 arch/x86/kernel/cpu/hygon.c } else if (boot_cpu_has(X86_FEATURE_NODEID_MSR)) { boot_cpu_has 246 arch/x86/kernel/cpu/hygon.c if (!boot_cpu_has(X86_FEATURE_AMD_SSBD) && boot_cpu_has 247 arch/x86/kernel/cpu/hygon.c !boot_cpu_has(X86_FEATURE_VIRT_SSBD)) { boot_cpu_has 292 arch/x86/kernel/cpu/hygon.c if (boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 449 arch/x86/kernel/cpu/intel.c if (boot_cpu_has(X86_FEATURE_APIC) && (c->x86<<8 | c->x86_model<<4) == 0x520 && boot_cpu_has 691 arch/x86/kernel/cpu/intel.c if (boot_cpu_has(X86_FEATURE_DS)) { boot_cpu_has 701 arch/x86/kernel/cpu/intel.c if (c->x86 == 6 && boot_cpu_has(X86_FEATURE_CLFLUSH) && boot_cpu_has 705 arch/x86/kernel/cpu/intel.c if (c->x86 == 6 && boot_cpu_has(X86_FEATURE_MWAIT) && boot_cpu_has 200 arch/x86/kernel/cpu/intel_epb.c if (!boot_cpu_has(X86_FEATURE_EPB)) boot_cpu_has 44 arch/x86/kernel/cpu/intel_pconfig.c if (!boot_cpu_has(X86_FEATURE_PCONFIG)) boot_cpu_has 302 arch/x86/kernel/cpu/mce/dev-mcelog.c if (!boot_cpu_has(X86_FEATURE_MCE) || !boot_cpu_has(X86_FEATURE_MCA)) boot_cpu_has 464 arch/x86/kernel/cpu/mce/inject.c if (boot_cpu_has(X86_FEATURE_SMCA)) { boot_cpu_has 522 arch/x86/kernel/cpu/mce/inject.c if (boot_cpu_has(X86_FEATURE_AMD_DCM) && boot_cpu_has 90 arch/x86/kernel/cpu/mce/intel.c if (!boot_cpu_has(X86_FEATURE_APIC) || lapic_get_maxlvt() < 6) boot_cpu_has 410 arch/x86/kernel/cpu/mce/therm_throt.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 154 arch/x86/kernel/cpu/mshyperv.c if (!boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 142 arch/x86/kernel/cpu/mtrr/cyrix.c if (boot_cpu_has(X86_FEATURE_PGE)) { boot_cpu_has 175 arch/x86/kernel/cpu/mtrr/cyrix.c if (boot_cpu_has(X86_FEATURE_PGE)) boot_cpu_has 353 arch/x86/kernel/cpu/mtrr/generic.c if (boot_cpu_has(X86_FEATURE_MTRR)) boot_cpu_has 757 arch/x86/kernel/cpu/mtrr/generic.c if (boot_cpu_has(X86_FEATURE_PGE)) { boot_cpu_has 790 arch/x86/kernel/cpu/mtrr/generic.c if (boot_cpu_has(X86_FEATURE_PGE)) boot_cpu_has 697 arch/x86/kernel/cpu/mtrr/mtrr.c if (boot_cpu_has(X86_FEATURE_MTRR)) { boot_cpu_has 41 arch/x86/kernel/cpu/proc.c boot_cpu_has(X86_FEATURE_FPU) ? "yes" : "no", boot_cpu_has 42 arch/x86/kernel/cpu/proc.c boot_cpu_has(X86_FEATURE_FPU) ? "yes" : "no", boot_cpu_has 806 arch/x86/kernel/cpu/resctrl/core.c bool ret = boot_cpu_has(flag); boot_cpu_has 844 arch/x86/kernel/cpu/resctrl/core.c if (!boot_cpu_has(X86_FEATURE_RDT_A)) boot_cpu_has 214 arch/x86/kernel/cpu/umwait.c if (!boot_cpu_has(X86_FEATURE_WAITPKG)) boot_cpu_has 234 arch/x86/kernel/cpu/vmware.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) { boot_cpu_has 170 arch/x86/kernel/devicetree.c if (!boot_cpu_has(X86_FEATURE_APIC)) { boot_cpu_has 386 arch/x86/kernel/dumpstack.c (boot_cpu_has(X86_FEATURE_PTI) ? " PTI" : " NOPTI") : ""); boot_cpu_has 30 arch/x86/kernel/fpu/bugs.c if (!boot_cpu_has(X86_FEATURE_FPU)) boot_cpu_has 308 arch/x86/kernel/fpu/core.c if (boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 395 arch/x86/kernel/fpu/core.c if (boot_cpu_has(X86_FEATURE_FXSR)) { boot_cpu_has 413 arch/x86/kernel/fpu/core.c if (boot_cpu_has(X86_FEATURE_XMM)) boot_cpu_has 22 arch/x86/kernel/fpu/init.c if (boot_cpu_has(X86_FEATURE_FXSR)) boot_cpu_has 24 arch/x86/kernel/fpu/init.c if (boot_cpu_has(X86_FEATURE_XMM)) boot_cpu_has 31 arch/x86/kernel/fpu/init.c if (!boot_cpu_has(X86_FEATURE_FPU)) boot_cpu_has 37 arch/x86/kernel/fpu/init.c if (!boot_cpu_has(X86_FEATURE_FPU)) boot_cpu_has 73 arch/x86/kernel/fpu/init.c if (!boot_cpu_has(X86_FEATURE_CPUID) && boot_cpu_has 100 arch/x86/kernel/fpu/init.c if (boot_cpu_has(X86_FEATURE_FXSR)) { boot_cpu_has 206 arch/x86/kernel/fpu/init.c if (!boot_cpu_has(X86_FEATURE_FPU)) { boot_cpu_has 209 arch/x86/kernel/fpu/init.c if (boot_cpu_has(X86_FEATURE_FXSR)) boot_cpu_has 23 arch/x86/kernel/fpu/regset.c if (boot_cpu_has(X86_FEATURE_FXSR)) boot_cpu_has 35 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_FXSR)) boot_cpu_has 52 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_FXSR)) boot_cpu_has 70 arch/x86/kernel/fpu/regset.c if (boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 84 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 121 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 304 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_FPU)) boot_cpu_has 307 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_FXSR)) boot_cpu_has 335 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_FPU)) boot_cpu_has 338 arch/x86/kernel/fpu/regset.c if (!boot_cpu_has(X86_FEATURE_FXSR)) boot_cpu_has 354 arch/x86/kernel/fpu/regset.c if (boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 216 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(X86_FEATURE_XSAVE) || !xfeatures_mask) boot_cpu_has 356 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(X86_FEATURE_XSAVES)) { boot_cpu_has 411 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 417 arch/x86/kernel/fpu/xstate.c if (boot_cpu_has(X86_FEATURE_XSAVES)) boot_cpu_has 471 arch/x86/kernel/fpu/xstate.c return boot_cpu_has(X86_FEATURE_XSAVES); boot_cpu_has 674 arch/x86/kernel/fpu/xstate.c if (boot_cpu_has(X86_FEATURE_XSAVES)) boot_cpu_has 722 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(X86_FEATURE_FPU)) { boot_cpu_has 727 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(X86_FEATURE_XSAVE)) { boot_cpu_has 729 arch/x86/kernel/fpu/xstate.c boot_cpu_has(X86_FEATURE_FXSR) ? "FXSAVE" : "FSAVE"); boot_cpu_has 755 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(xsave_cpuid_features[i])) boot_cpu_has 781 arch/x86/kernel/fpu/xstate.c boot_cpu_has(X86_FEATURE_XSAVES) ? "compacted" : "standard"); boot_cpu_has 797 arch/x86/kernel/fpu/xstate.c if (boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 838 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 915 arch/x86/kernel/fpu/xstate.c if (!boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 600 arch/x86/kernel/hpet.c if (hpet_msi_disable || boot_cpu_has(X86_FEATURE_ARAT)) boot_cpu_has 294 arch/x86/kernel/hw_breakpoint.c if (!boot_cpu_has(X86_FEATURE_BPEXT)) boot_cpu_has 33 arch/x86/kernel/i8253.c if (!IS_ENABLED(CONFIG_X86_TSC) || !boot_cpu_has(X86_FEATURE_TSC)) boot_cpu_has 30 arch/x86/kernel/jailhouse.c !boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 665 arch/x86/kernel/kvm.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 363 arch/x86/kernel/kvmclock.c if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC) && boot_cpu_has 364 arch/x86/kernel/kvmclock.c boot_cpu_has(X86_FEATURE_NONSTOP_TSC) && boot_cpu_has 116 arch/x86/kernel/ldt.c if (boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 124 arch/x86/kernel/ldt.c if (boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 159 arch/x86/kernel/ldt.c if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) boot_cpu_has 184 arch/x86/kernel/ldt.c if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) boot_cpu_has 211 arch/x86/kernel/ldt.c if (!boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 274 arch/x86/kernel/ldt.c if (!boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 314 arch/x86/kernel/ldt.c if (!boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 243 arch/x86/kernel/machine_kexec_32.c boot_cpu_has(X86_FEATURE_PAE), boot_cpu_has 112 arch/x86/kernel/paravirt.c if (!boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 239 arch/x86/kernel/process.c if (!boot_cpu_has(X86_FEATURE_CPUID_FAULT)) boot_cpu_has 609 arch/x86/kernel/process.c if (boot_cpu_has(X86_FEATURE_SME)) boot_cpu_has 745 arch/x86/kernel/process.c if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) boot_cpu_has 140 arch/x86/kernel/process_64.c if (boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 124 arch/x86/kernel/reboot.c if (boot_cpu_has(X86_FEATURE_PCID)) boot_cpu_has 445 arch/x86/kernel/signal.c if (boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 437 arch/x86/kernel/smpboot.c if (boot_cpu_has(X86_FEATURE_TOPOEXT)) { boot_cpu_has 1465 arch/x86/kernel/smpboot.c if (boot_cpu_has(X86_FEATURE_APIC)) { boot_cpu_has 30 arch/x86/kernel/tce_64.c if (boot_cpu_has(X86_FEATURE_CLFLUSH)) boot_cpu_has 117 arch/x86/kernel/topology.c boot_cpu_has(X86_FEATURE_XENPV)) boot_cpu_has 885 arch/x86/kernel/traps.c if (!boot_cpu_has(X86_FEATURE_FPU) && (cr0 & X86_CR0_EM)) { boot_cpu_has 894 arch/x86/kernel/tsc.c if (!boot_cpu_has(X86_FEATURE_TSC)) boot_cpu_has 1012 arch/x86/kernel/tsc.c if (!boot_cpu_has(X86_FEATURE_TSC)) boot_cpu_has 1014 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) boot_cpu_has 1043 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR) || boot_cpu_has 1044 arch/x86/kernel/tsc.c !boot_cpu_has(X86_FEATURE_NONSTOP_TSC) || boot_cpu_has 1045 arch/x86/kernel/tsc.c !boot_cpu_has(X86_FEATURE_TSC_ADJUST) || boot_cpu_has 1179 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_TSC_RELIABLE)) boot_cpu_has 1189 arch/x86/kernel/tsc.c if (!boot_cpu_has(X86_FEATURE_TSC) || tsc_unstable) boot_cpu_has 1197 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) boot_cpu_has 1356 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_ART)) boot_cpu_has 1366 arch/x86/kernel/tsc.c if (!boot_cpu_has(X86_FEATURE_TSC) || !tsc_khz) boot_cpu_has 1375 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC_S3)) boot_cpu_has 1382 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_TSC_KNOWN_FREQ)) { boot_cpu_has 1383 arch/x86/kernel/tsc.c if (boot_cpu_has(X86_FEATURE_ART)) boot_cpu_has 1457 arch/x86/kernel/tsc.c if (!boot_cpu_has(X86_FEATURE_TSC)) boot_cpu_has 1478 arch/x86/kernel/tsc.c if (!boot_cpu_has(X86_FEATURE_TSC)) { boot_cpu_has 53 arch/x86/kernel/tsc_sync.c if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST)) boot_cpu_has 119 arch/x86/kernel/tsc_sync.c if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST)) boot_cpu_has 145 arch/x86/kernel/tsc_sync.c if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST)) boot_cpu_has 326 arch/x86/kernel/tsc_sync.c if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST)) boot_cpu_has 372 arch/x86/kernel/vm86_32.c if (boot_cpu_has(X86_FEATURE_SEP)) { boot_cpu_has 77 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_XSAVE) && best->function == 0x1) { boot_cpu_has 97 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_PKU) && best->function == 0x7) { boot_cpu_has 398 arch/x86/kvm/cpuid.c if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 403 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_IBPB) && boot_cpu_has(X86_FEATURE_IBRS)) boot_cpu_has 405 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_STIBP)) boot_cpu_has 407 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) || boot_cpu_has 408 arch/x86/kvm/cpuid.c boot_cpu_has(X86_FEATURE_AMD_SSBD)) boot_cpu_has 759 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_IBPB)) boot_cpu_has 761 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_IBRS)) boot_cpu_has 763 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_STIBP)) boot_cpu_has 765 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) || boot_cpu_has 766 arch/x86/kvm/cpuid.c boot_cpu_has(X86_FEATURE_AMD_SSBD)) boot_cpu_has 774 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_LS_CFG_SSBD) && boot_cpu_has 775 arch/x86/kvm/cpuid.c !boot_cpu_has(X86_FEATURE_AMD_SSBD)) boot_cpu_has 4715 arch/x86/kvm/mmu.c boot_cpu_has(X86_FEATURE_GBPAGES), boot_cpu_has 1359 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_NX)) boot_cpu_has 1362 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_FXSR_OPT)) boot_cpu_has 1365 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_TSCRATEMSR)) { boot_cpu_has 1372 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_PAUSEFILTER)) { boot_cpu_has 1375 arch/x86/kvm/svm.c } else if (!boot_cpu_has(X86_FEATURE_PFTHRESHOLD)) { boot_cpu_has 1385 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_SEV) && boot_cpu_has 1403 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_NPT)) boot_cpu_has 1418 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_NRIPS)) boot_cpu_has 1424 arch/x86/kvm/svm.c !boot_cpu_has(X86_FEATURE_AVIC) || boot_cpu_has 1436 arch/x86/kvm/svm.c !boot_cpu_has(X86_FEATURE_V_VMSAVE_VMLOAD) || boot_cpu_has 1445 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_VGIF)) boot_cpu_has 4116 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_DECODEASSISTS)) boot_cpu_has 4159 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_LFENCE_RDTSC)) boot_cpu_has 4201 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_RDTSCP)) boot_cpu_has 4399 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_RDTSCP)) boot_cpu_has 4411 arch/x86/kvm/svm.c if (!boot_cpu_has(X86_FEATURE_LBRV)) { boot_cpu_has 5970 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_LS_CFG_SSBD) || boot_cpu_has 5971 arch/x86/kvm/svm.c boot_cpu_has(X86_FEATURE_AMD_SSBD)) boot_cpu_has 5983 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_NRIPS)) boot_cpu_has 5993 arch/x86/kvm/svm.c if (boot_cpu_has(X86_FEATURE_SEV)) boot_cpu_has 6007 arch/x86/kvm/svm.c return boot_cpu_has(X86_FEATURE_RDTSCP); boot_cpu_has 151 arch/x86/kvm/vmx/capabilities.h return boot_cpu_has(X86_FEATURE_PKU); boot_cpu_has 2132 arch/x86/kvm/vmx/nested.c if (!boot_cpu_has(X86_FEATURE_UMIP) && vmx_umip_emulated() && boot_cpu_has 325 arch/x86/kvm/vmx/pmu_intel.c (boot_cpu_has(X86_FEATURE_HLE) || boot_cpu_has(X86_FEATURE_RTM)) && boot_cpu_has 222 arch/x86/kvm/vmx/vmx.c if (boot_cpu_has(X86_FEATURE_ARCH_CAPABILITIES)) { boot_cpu_has 253 arch/x86/kvm/vmx/vmx.c !boot_cpu_has(X86_FEATURE_FLUSH_L1D)) { boot_cpu_has 310 arch/x86/kvm/vmx/vmx.c if (!boot_cpu_has(X86_BUG_L1TF)) boot_cpu_has 3022 arch/x86/kvm/vmx/vmx.c if (!boot_cpu_has(X86_FEATURE_UMIP) && vmx_umip_emulated()) { boot_cpu_has 6820 arch/x86/kvm/vmx/vmx.c if (boot_cpu_has(X86_BUG_L1TF) && enable_ept) { boot_cpu_has 7084 arch/x86/kvm/vmx/vmx.c if (boot_cpu_has(X86_FEATURE_INTEL_PT) && boot_cpu_has 7627 arch/x86/kvm/vmx/vmx.c if (boot_cpu_has(X86_FEATURE_NX)) boot_cpu_has 7630 arch/x86/kvm/vmx/vmx.c if (boot_cpu_has(X86_FEATURE_MPX)) { boot_cpu_has 7635 arch/x86/kvm/vmx/vmx.c if (boot_cpu_has(X86_FEATURE_XSAVES)) boot_cpu_has 1343 arch/x86/kvm/x86.c if (boot_cpu_has(X86_FEATURE_ARCH_CAPABILITIES)) boot_cpu_has 1388 arch/x86/kvm/x86.c if (!boot_cpu_has(X86_FEATURE_RTM)) boot_cpu_has 3261 arch/x86/kvm/x86.c return boot_cpu_has(X86_FEATURE_MWAIT) && boot_cpu_has 3263 arch/x86/kvm/x86.c boot_cpu_has(X86_FEATURE_ARAT); boot_cpu_has 3365 arch/x86/kvm/x86.c r = boot_cpu_has(X86_FEATURE_XSAVE); boot_cpu_has 4006 arch/x86/kvm/x86.c if (boot_cpu_has(X86_FEATURE_XSAVES)) boot_cpu_has 4037 arch/x86/kvm/x86.c if (boot_cpu_has(X86_FEATURE_XSAVE)) { boot_cpu_has 4058 arch/x86/kvm/x86.c if (boot_cpu_has(X86_FEATURE_XSAVE)) { boot_cpu_has 4081 arch/x86/kvm/x86.c if (!boot_cpu_has(X86_FEATURE_XSAVE)) { boot_cpu_has 4097 arch/x86/kvm/x86.c if (!boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 6982 arch/x86/kvm/x86.c else if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) boot_cpu_has 7133 arch/x86/kvm/x86.c if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) { boot_cpu_has 7268 arch/x86/kvm/x86.c if (!boot_cpu_has(X86_FEATURE_FPU) || !boot_cpu_has(X86_FEATURE_FXSR)) { boot_cpu_has 7302 arch/x86/kvm/x86.c if (boot_cpu_has(X86_FEATURE_XSAVE)) boot_cpu_has 7334 arch/x86/kvm/x86.c if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) boot_cpu_has 9127 arch/x86/kvm/x86.c if (boot_cpu_has(X86_FEATURE_XSAVES)) boot_cpu_has 25 arch/x86/lib/kaslr.c #define has_cpuflag(f) boot_cpu_has(f) boot_cpu_has 41 arch/x86/mm/cpu_entry_area.c if (boot_cpu_has(X86_FEATURE_PGE) && boot_cpu_has 133 arch/x86/mm/cpu_entry_area.c pgprot_t gdt_prot = boot_cpu_has(X86_FEATURE_XENPV) ? boot_cpu_has 577 arch/x86/mm/dump_pagetables.c if (user && boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 590 arch/x86/mm/dump_pagetables.c !boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 970 arch/x86/mm/fault.c if (!boot_cpu_has(X86_FEATURE_OSPKE)) boot_cpu_has 194 arch/x86/mm/hugetlbpage.c } else if (ps == PUD_SIZE && boot_cpu_has(X86_FEATURE_GBPAGES)) { boot_cpu_has 210 arch/x86/mm/hugetlbpage.c if (boot_cpu_has(X86_FEATURE_GBPAGES) && !size_to_hstate(1UL << PUD_SHIFT)) boot_cpu_has 182 arch/x86/mm/init.c if (boot_cpu_has(X86_FEATURE_PSE) && !debug_pagealloc_enabled()) boot_cpu_has 188 arch/x86/mm/init.c if (boot_cpu_has(X86_FEATURE_PSE)) boot_cpu_has 193 arch/x86/mm/init.c if (boot_cpu_has(X86_FEATURE_PGE)) { boot_cpu_has 205 arch/x86/mm/init.c if (direct_gbpages && boot_cpu_has(X86_FEATURE_GBPAGES)) { boot_cpu_has 218 arch/x86/mm/init.c if (!boot_cpu_has(X86_FEATURE_PCID)) boot_cpu_has 221 arch/x86/mm/init.c if (boot_cpu_has(X86_FEATURE_PGE)) { boot_cpu_has 241 arch/x86/mm/init.c if (boot_cpu_has(X86_FEATURE_INVPCID)) boot_cpu_has 288 arch/x86/mm/init_32.c if (!boot_cpu_has(X86_FEATURE_PSE)) boot_cpu_has 1521 arch/x86/mm/init_64.c else if (boot_cpu_has(X86_FEATURE_PSE)) boot_cpu_has 1572 arch/x86/mm/init_64.c if (!boot_cpu_has(X86_FEATURE_PSE)) { boot_cpu_has 492 arch/x86/mm/ioremap.c return boot_cpu_has(X86_FEATURE_GBPAGES); boot_cpu_has 500 arch/x86/mm/ioremap.c return boot_cpu_has(X86_FEATURE_PSE); boot_cpu_has 47 arch/x86/mm/kasan_init_64.c if (boot_cpu_has(X86_FEATURE_PSE) && boot_cpu_has 84 arch/x86/mm/kasan_init_64.c if (boot_cpu_has(X86_FEATURE_GBPAGES) && boot_cpu_has 1363 arch/x86/mm/pageattr.c while (boot_cpu_has(X86_FEATURE_GBPAGES) && end - start >= PUD_SIZE) { boot_cpu_has 217 arch/x86/mm/pat.c if (!boot_cpu_has(X86_FEATURE_PAT)) { boot_cpu_has 236 arch/x86/mm/pat.c if (!boot_cpu_has(X86_FEATURE_PAT)) { boot_cpu_has 254 arch/x86/mm/pat.c if (boot_cpu_has(X86_FEATURE_PAT)) { boot_cpu_has 177 arch/x86/mm/pgtable.c #define PREALLOCATED_USER_PMDS (boot_cpu_has(X86_FEATURE_PTI) ? \ boot_cpu_has 279 arch/x86/mm/pgtable.c if (!boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 368 arch/x86/mm/pti.c if (boot_cpu_has(X86_FEATURE_PGE)) boot_cpu_has 399 arch/x86/mm/pti.c if (boot_cpu_has(X86_FEATURE_PGE)) boot_cpu_has 541 arch/x86/mm/pti.c if (boot_cpu_has(X86_FEATURE_K8)) boot_cpu_has 625 arch/x86/mm/pti.c if (!boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 671 arch/x86/mm/pti.c if (!boot_cpu_has(X86_FEATURE_PTI)) boot_cpu_has 36 arch/x86/mm/setup_nx.c if (boot_cpu_has(X86_FEATURE_NX) && !disable_nx) boot_cpu_has 44 arch/x86/mm/setup_nx.c if (!boot_cpu_has(X86_FEATURE_NX)) { boot_cpu_has 497 arch/x86/mm/tlb.c WARN_ON(boot_cpu_has(X86_FEATURE_PCID) && boot_cpu_has 616 arch/x86/oprofile/nmi_int.c if (force_cpu_type == arch_perfmon && boot_cpu_has(X86_FEATURE_ARCH_PERFMON)) boot_cpu_has 680 arch/x86/oprofile/nmi_int.c if (!boot_cpu_has(X86_FEATURE_APIC)) boot_cpu_has 741 arch/x86/oprofile/nmi_int.c if (!boot_cpu_has(X86_FEATURE_ARCH_PERFMON)) boot_cpu_has 78 arch/x86/oprofile/op_model_ppro.c if (boot_cpu_has(X86_FEATURE_ARCH_PERFMON)) { boot_cpu_has 438 arch/x86/pci/xen.c ((eax & XEN_HVM_CPUID_APIC_ACCESS_VIRT) && boot_cpu_has(X86_FEATURE_APIC))) boot_cpu_has 94 arch/x86/platform/intel-mid/intel-mid.c if (!boot_cpu_has(X86_FEATURE_ARAT)) boot_cpu_has 173 arch/x86/power/cpu.c if (boot_cpu_has(X86_FEATURE_SEP)) boot_cpu_has 109 arch/x86/power/hibernate_32.c if (boot_cpu_has(X86_FEATURE_PSE)) { boot_cpu_has 157 arch/x86/power/hibernate_32.c if (boot_cpu_has(X86_FEATURE_PSE)) { boot_cpu_has 959 arch/x86/xen/setup.c if (!boot_cpu_has(sysenter_feature)) boot_cpu_has 979 arch/x86/xen/setup.c if (boot_cpu_has(X86_FEATURE_SYSCALL32)) { boot_cpu_has 43 arch/x86/xen/suspend.c if (xen_pv_domain() && boot_cpu_has(X86_FEATURE_SPEC_CTRL)) boot_cpu_has 59 arch/x86/xen/suspend.c if (xen_pv_domain() && boot_cpu_has(X86_FEATURE_SPEC_CTRL)) { boot_cpu_has 41 drivers/acpi/acpi_pad.c if (!boot_cpu_has(X86_FEATURE_MWAIT)) boot_cpu_has 72 drivers/acpi/acpi_pad.c if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) boot_cpu_has 532 drivers/acpi/acpi_processor.c if (boot_cpu_has(X86_FEATURE_HWP)) { boot_cpu_has 307 drivers/acpi/bus.c if (boot_cpu_has(X86_FEATURE_HWP)) { boot_cpu_has 204 drivers/acpi/processor_idle.c if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) boot_cpu_has 430 drivers/acpi/processor_perflib.c if(boot_cpu_has(X86_FEATURE_EST)) boot_cpu_has 139 drivers/char/hw_random/via-rng.c if (!boot_cpu_has(X86_FEATURE_XSTORE_EN)) { boot_cpu_has 199 drivers/char/hw_random/via-rng.c if (!boot_cpu_has(X86_FEATURE_XSTORE)) boot_cpu_has 901 drivers/cpufreq/acpi-cpufreq.c if (!(boot_cpu_has(X86_FEATURE_CPB) || boot_cpu_has(X86_FEATURE_IDA))) { boot_cpu_has 124 drivers/cpufreq/amd_freq_sensitivity.c if (!boot_cpu_has(X86_FEATURE_PROC_FEEDBACK)) boot_cpu_has 527 drivers/cpufreq/intel_pstate.c if (!boot_cpu_has(X86_FEATURE_EPB)) boot_cpu_has 541 drivers/cpufreq/intel_pstate.c if (boot_cpu_has(X86_FEATURE_HWP_EPP)) { boot_cpu_has 566 drivers/cpufreq/intel_pstate.c if (!boot_cpu_has(X86_FEATURE_EPB)) boot_cpu_has 614 drivers/cpufreq/intel_pstate.c if (boot_cpu_has(X86_FEATURE_HWP_EPP)) { boot_cpu_has 623 drivers/cpufreq/intel_pstate.c } else if (boot_cpu_has(X86_FEATURE_EPB)) { boot_cpu_has 651 drivers/cpufreq/intel_pstate.c if (boot_cpu_has(X86_FEATURE_HWP_EPP)) { boot_cpu_has 826 drivers/cpufreq/intel_pstate.c if (boot_cpu_has(X86_FEATURE_HWP_EPP)) { boot_cpu_has 851 drivers/cpufreq/intel_pstate.c if (boot_cpu_has(X86_FEATURE_HWP_EPP)) boot_cpu_has 1281 drivers/cpufreq/intel_pstate.c if (boot_cpu_has(X86_FEATURE_HWP_NOTIFY)) boot_cpu_has 936 drivers/cpufreq/longhaul.c if (boot_cpu_has(X86_FEATURE_APIC)) { boot_cpu_has 251 drivers/cpufreq/p4-clockmod.c if (!x86_match_cpu(cpufreq_p4_id) || !boot_cpu_has(X86_FEATURE_ACPI)) boot_cpu_has 1178 drivers/cpufreq/powernow-k8.c if (boot_cpu_has(X86_FEATURE_HW_PSTATE)) { boot_cpu_has 504 drivers/crypto/padlock-aes.c if (!boot_cpu_has(X86_FEATURE_XCRYPT_EN)) { boot_cpu_has 511 drivers/crypto/padlock-sha.c if (!x86_match_cpu(padlock_sha_ids) || !boot_cpu_has(X86_FEATURE_PHE_EN)) boot_cpu_has 84 drivers/dma/ioat/dca.c if (boot_cpu_has(X86_FEATURE_DCA)) boot_cpu_has 1058 drivers/edac/mce_amd.c if (boot_cpu_has(X86_FEATURE_SMCA)) { boot_cpu_has 1090 drivers/edac/mce_amd.c if (boot_cpu_has(X86_FEATURE_SMCA)) { boot_cpu_has 1213 drivers/edac/mce_amd.c if (!boot_cpu_has(X86_FEATURE_SMCA)) { boot_cpu_has 283 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h return boot_cpu_has(X86_FEATURE_HYPERVISOR); boot_cpu_has 472 drivers/gpu/drm/gma500/mmu.c if (boot_cpu_has(X86_FEATURE_CLFLUSH)) { boot_cpu_has 61 drivers/gpu/drm/i915/gem/i915_gem_mman.c if (args->flags & I915_MMAP_WC && !boot_cpu_has(X86_FEATURE_PAT)) boot_cpu_has 104 drivers/gpu/drm/i915/i915_memcpy.c !boot_cpu_has(X86_FEATURE_HYPERVISOR)) boot_cpu_has 640 drivers/gpu/drm/radeon/radeon_device.c return boot_cpu_has(X86_FEATURE_HYPERVISOR); boot_cpu_has 306 drivers/hwmon/fam15h_power.c if (boot_cpu_has(X86_FEATURE_ACC_POWER)) boot_cpu_has 323 drivers/hwmon/fam15h_power.c if (boot_cpu_has(X86_FEATURE_ACC_POWER)) { boot_cpu_has 422 drivers/hwmon/fam15h_power.c if (!boot_cpu_has(X86_FEATURE_ACC_POWER)) boot_cpu_has 1120 drivers/idle/intel_idle.c if (!boot_cpu_has(X86_FEATURE_MWAIT)) { boot_cpu_has 1366 drivers/idle/intel_idle.c !boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) boot_cpu_has 1453 drivers/idle/intel_idle.c if (boot_cpu_has(X86_FEATURE_ARAT)) /* Always Reliable APIC Timer */ boot_cpu_has 130 drivers/input/joystick/analog.c #define GET_TIME(x) do { if (boot_cpu_has(X86_FEATURE_TSC)) x = (unsigned int)rdtsc(); else x = get_time_pit(); } while (0) boot_cpu_has 131 drivers/input/joystick/analog.c #define DELTA(x,y) (boot_cpu_has(X86_FEATURE_TSC) ? ((y) - (x)) : ((x) - (y) + ((x) < (y) ? PIT_TICK_RATE / HZ : 0))) boot_cpu_has 132 drivers/input/joystick/analog.c #define TIME_NAME (boot_cpu_has(X86_FEATURE_TSC)?"TSC":"PIT") boot_cpu_has 791 drivers/iommu/intel_irq_remapping.c if (boot_cpu_has(X86_FEATURE_CX16)) boot_cpu_has 39 drivers/iommu/irq_remapping.c if (boot_cpu_has(X86_FEATURE_APIC) || apic_from_smp_config()) boot_cpu_has 314 drivers/net/ethernet/intel/e1000e/ptp.c if (hw->mac.type >= e1000_pch_spt && boot_cpu_has(X86_FEATURE_ART)) boot_cpu_has 630 drivers/net/hamradio/baycom_epp.c if (boot_cpu_has(X86_FEATURE_TSC)) \ boot_cpu_has 804 drivers/powercap/intel_rapl_common.c if (!boot_cpu_has(X86_FEATURE_PTS) || !boot_cpu_has(X86_FEATURE_PLN)) boot_cpu_has 818 drivers/powercap/intel_rapl_common.c if (!boot_cpu_has(X86_FEATURE_PTS) || !boot_cpu_has(X86_FEATURE_PLN)) boot_cpu_has 1656 drivers/visorbus/visorchipset.c if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) { boot_cpu_has 262 lib/atomic64_test.c boot_cpu_has(X86_FEATURE_CX8) ? "with" : "without", boot_cpu_has 263 lib/atomic64_test.c boot_cpu_has(X86_FEATURE_XMM) ? "with" : "without"); boot_cpu_has 30 lib/raid6/avx2.c return boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has(X86_FEATURE_AVX); boot_cpu_has 36 lib/raid6/avx512.c return boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has 37 lib/raid6/avx512.c boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has 38 lib/raid6/avx512.c boot_cpu_has(X86_FEATURE_AVX512F) && boot_cpu_has 39 lib/raid6/avx512.c boot_cpu_has(X86_FEATURE_AVX512BW) && boot_cpu_has 40 lib/raid6/avx512.c boot_cpu_has(X86_FEATURE_AVX512VL) && boot_cpu_has 41 lib/raid6/avx512.c boot_cpu_has(X86_FEATURE_AVX512DQ); boot_cpu_has 29 lib/raid6/mmx.c return boot_cpu_has(X86_FEATURE_MMX); boot_cpu_has 14 lib/raid6/recov_avx2.c return boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has 15 lib/raid6/recov_avx2.c boot_cpu_has(X86_FEATURE_AVX); boot_cpu_has 16 lib/raid6/recov_avx512.c return boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has 17 lib/raid6/recov_avx512.c boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has 18 lib/raid6/recov_avx512.c boot_cpu_has(X86_FEATURE_AVX512F) && boot_cpu_has 19 lib/raid6/recov_avx512.c boot_cpu_has(X86_FEATURE_AVX512BW) && boot_cpu_has 20 lib/raid6/recov_avx512.c boot_cpu_has(X86_FEATURE_AVX512VL) && boot_cpu_has 21 lib/raid6/recov_avx512.c boot_cpu_has(X86_FEATURE_AVX512DQ); boot_cpu_has 13 lib/raid6/recov_ssse3.c return boot_cpu_has(X86_FEATURE_XMM) && boot_cpu_has 14 lib/raid6/recov_ssse3.c boot_cpu_has(X86_FEATURE_XMM2) && boot_cpu_has 15 lib/raid6/recov_ssse3.c boot_cpu_has(X86_FEATURE_SSSE3); boot_cpu_has 32 lib/raid6/sse1.c return boot_cpu_has(X86_FEATURE_MMX) && boot_cpu_has 33 lib/raid6/sse1.c (boot_cpu_has(X86_FEATURE_XMM) || boot_cpu_has 34 lib/raid6/sse1.c boot_cpu_has(X86_FEATURE_MMXEXT)); boot_cpu_has 27 lib/raid6/sse2.c return boot_cpu_has(X86_FEATURE_MMX) && boot_cpu_has 28 lib/raid6/sse2.c boot_cpu_has(X86_FEATURE_FXSR) && boot_cpu_has 29 lib/raid6/sse2.c boot_cpu_has(X86_FEATURE_XMM) && boot_cpu_has 30 lib/raid6/sse2.c boot_cpu_has(X86_FEATURE_XMM2); boot_cpu_has 1838 sound/pci/hda/hda_intel.c if (bus->ppcap && boot_cpu_has(X86_FEATURE_ART))