Searched refs:static_cpu_has (Results 1 - 25 of 37) sorted by relevance

12

/linux-master/arch/x86/include/asm/
H A Dsync_core.h64 if (static_cpu_has(X86_FEATURE_SERIALIZE)) {
99 if (static_cpu_has(X86_FEATURE_PTI))
H A Darchrandom.h50 return max_longs && static_cpu_has(X86_FEATURE_RDRAND) && rdrand_long(v) ? 1 : 0;
55 return max_longs && static_cpu_has(X86_FEATURE_RDSEED) && rdseed_long(v) ? 1 : 0;
H A Dpgtable-3level_types.h30 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
H A Ddebugreg.h124 if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active())
H A Dcpufeature.h144 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))
163 * static_cpu_has() only in fast paths, where every cycle counts. Which
193 #define static_cpu_has(bit) \ macro
204 #define static_cpu_has_bug(bit) static_cpu_has((bit))
/linux-master/arch/um/include/asm/
H A Dcpufeature.h53 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))
71 * static_cpu_has() only in fast paths, where every cycle counts. Which
120 #define static_cpu_has(bit) \ macro
130 #define static_cpu_has_bug(bit) static_cpu_has((bit))
/linux-master/arch/x86/lib/
H A Dcopy_mc.c66 if (static_cpu_has(X86_FEATURE_ERMS))
84 if (static_cpu_has(X86_FEATURE_ERMS)) {
H A Dusercopy_32.c330 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2))
/linux-master/arch/x86/kernel/
H A Dtime.c103 if (static_cpu_has(X86_FEATURE_WAITPKG))
H A Dprocess.c556 if (!static_cpu_has(X86_FEATURE_ZEN)) {
623 if (static_cpu_has(X86_FEATURE_VIRT_SSBD)) {
626 } else if (static_cpu_has(X86_FEATURE_LS_CFG_SSBD)) {
629 } else if (static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) ||
630 static_cpu_has(X86_FEATURE_AMD_SSBD)) {
H A Dprocess_64.c278 if (static_cpu_has(X86_FEATURE_FSGSBASE)) {
394 if (static_cpu_has(X86_FEATURE_FSGSBASE)) {
536 if (static_cpu_has(X86_BUG_NULL_SEG)) {
H A Dldt.c64 if (static_cpu_has(X86_FEATURE_PTI)) {
H A Dtraps.c655 if (static_cpu_has(X86_FEATURE_UMIP)) {
1203 if (!static_cpu_has(X86_FEATURE_XMM)) {
/linux-master/drivers/gpu/drm/
H A Ddrm_cache.c91 if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
131 if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
162 if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
338 if (static_cpu_has(X86_FEATURE_XMM4_1) &&
/linux-master/drivers/gpu/drm/i915/
H A Di915_memcpy.c169 if (static_cpu_has(X86_FEATURE_XMM4_1) &&
/linux-master/arch/x86/mm/
H A Dtlb.c162 if (static_cpu_has(X86_FEATURE_PCID)) {
198 if (!static_cpu_has(X86_FEATURE_PTI)) {
224 if (!static_cpu_has(X86_FEATURE_PCID)) {
275 if (!static_cpu_has(X86_FEATURE_PTI))
1125 if (!static_cpu_has(X86_FEATURE_PTI))
1149 if (!static_cpu_has(X86_FEATURE_PTI))
1178 if (static_cpu_has(X86_FEATURE_INVPCID)) {
H A Dextable.c205 if (static_cpu_has(X86_BUG_NULL_SEG))
/linux-master/arch/x86/events/intel/
H A Dlbr.c109 if (static_cpu_has(X86_FEATURE_ARCH_LBR))
138 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && !pmi && cpuc->lbr_sel)
144 if (!static_cpu_has(X86_FEATURE_ARCH_LBR))
159 if (static_cpu_has(X86_FEATURE_ARCH_LBR))
200 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && cpuc->lbr_select)
418 if (static_cpu_has(X86_FEATURE_ARCH_LBR))
625 if (!static_cpu_has(X86_FEATURE_ARCH_LBR))
644 if (!static_cpu_has(X86_FEATURE_ARCH_LBR))
721 if (static_cpu_has(X86_FEATURE_ARCH_LBR))
880 if (static_cpu_has(X86_FEATURE_ARCH_LB
[all...]
/linux-master/arch/x86/kernel/apic/
H A Dapic_numachip.c33 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) {
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_domain.c695 !static_cpu_has(X86_FEATURE_CLFLUSH)) {
746 !static_cpu_has(X86_FEATURE_CLFLUSH)) {
/linux-master/arch/x86/kernel/fpu/
H A Dsignal.c198 if (!static_cpu_has(X86_FEATURE_FPU)) {
/linux-master/arch/x86/kernel/cpu/
H A Dbugs.c194 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) &&
195 !static_cpu_has(X86_FEATURE_VIRT_SSBD))
203 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE))
2096 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) &&
2097 !static_cpu_has(X86_FEATURE_AMD_SSBD)) {
H A Dcacheinfo.c1076 if (!static_cpu_has(X86_FEATURE_SELFSNOOP))
1093 if (!static_cpu_has(X86_FEATURE_SELFSNOOP))
/linux-master/arch/x86/kvm/svm/
H A Dsvm.c383 WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS));
451 if (static_cpu_has(X86_FEATURE_NRIPS))
627 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) {
2047 static_cpu_has(X86_FEATURE_DECODEASSISTS) ?
2061 static_cpu_has(X86_FEATURE_DECODEASSISTS) ?
2585 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS))
2633 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS))
3903 if (static_cpu_has(X86_FEATURE_FLUSHBYASID))
4184 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL))
4189 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTR
[all...]
/linux-master/drivers/thermal/intel/
H A Dtherm_throt.c654 if (static_cpu_has(X86_FEATURE_HWP))

Completed in 341 milliseconds

12