Home
last modified time | relevance | path

Searched refs:static_cpu_has (Results 1 – 25 of 30) sorted by relevance

12

/linux/arch/um/include/asm/
H A Dcpufeature.h52 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))
119 #define static_cpu_has(bit) \ macro
129 #define static_cpu_has_bug(bit) static_cpu_has((bit))
/linux/arch/x86/include/asm/
H A Dsync_core.h64 if (static_cpu_has(X86_FEATURE_SERIALIZE)) { in sync_core()
99 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
H A Darchrandom.h50 return max_longs && static_cpu_has(X86_FEATURE_RDRAND) && rdrand_long(v) ? 1 : 0; in arch_get_random_longs()
55 return max_longs && static_cpu_has(X86_FEATURE_RDSEED) && rdseed_long(v) ? 1 : 0; in arch_get_random_seed_longs()
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()) in local_db_save()
/linux/drivers/gpu/drm/
H A Ddrm_cache.c91 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_pages()
131 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_sg()
162 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_virt_range()
338 if (static_cpu_has(X86_FEATURE_XMM4_1) && in drm_memcpy_init_early()
/linux/arch/x86/events/intel/
H A Dlbr.c110 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in is_lbr_call_stack_bit_set()
139 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && !pmi && cpuc->lbr_sel) in __intel_pmu_lbr_enable()
145 if (!static_cpu_has(X86_FEATURE_ARCH_LBR)) in __intel_pmu_lbr_enable()
160 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in __intel_pmu_lbr_enable()
201 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && cpuc->lbr_select) in intel_pmu_lbr_reset()
419 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in lbr_is_reset_in_cstate()
626 if (!static_cpu_has(X86_FEATURE_ARCH_LBR)) in release_lbr_buffers()
645 if (!static_cpu_has(X86_FEATURE_ARCH_LBR)) in reserve_lbr_buffers()
722 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in intel_pmu_lbr_disable_all()
881 if (static_cpu_has(X86_FEATURE_ARCH_LBR) && in get_lbr_cycles()
[all …]
/linux/arch/x86/kernel/
H A Dtime.c85 if (static_cpu_has(X86_FEATURE_WAITPKG)) in x86_late_time_init()
H A Dprocess_64.c278 if (static_cpu_has(X86_FEATURE_FSGSBASE)) { in save_fsgs()
394 if (static_cpu_has(X86_FEATURE_FSGSBASE)) { in x86_fsgsbase_load()
536 if (static_cpu_has(X86_BUG_NULL_SEG)) { in start_thread_common()
H A Dtraps.c704 if (static_cpu_has(X86_FEATURE_UMIP)) { in DEFINE_IDTENTRY_ERRORCODE()
1252 if (!static_cpu_has(X86_FEATURE_XMM)) { in DEFINE_IDTENTRY()
H A Dldt.c64 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
H A Dsignal_32.c332 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
/linux/drivers/gpu/drm/i915/
H A Di915_memcpy.c169 if (static_cpu_has(X86_FEATURE_XMM4_1) && in i915_memcpy_init_early()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_domain.c695 !static_cpu_has(X86_FEATURE_CLFLUSH)) { in i915_gem_object_prepare_read()
746 !static_cpu_has(X86_FEATURE_CLFLUSH)) { in i915_gem_object_prepare_write()
/linux/arch/x86/kernel/apic/
H A Dapic_numachip.c33 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in numachip1_get_apic_id()
/linux/arch/x86/lib/
H A Dusercopy_32.c330 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2)) in __copy_from_user_ll_nocache_nozero()
/linux/arch/x86/kernel/cpu/
H A Dbugs.c194 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) && in x86_virt_spec_ctrl()
195 !static_cpu_has(X86_FEATURE_VIRT_SSBD)) in x86_virt_spec_ctrl()
203 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE)) in x86_virt_spec_ctrl()
2123 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) && in __ssb_select_mitigation()
2124 !static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __ssb_select_mitigation()
H A Dcacheinfo.c1075 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in cache_disable()
1092 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in cache_disable()
/linux/arch/x86/kvm/svm/
H A Dsvm.c384 WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS)); in __svm_skip_emulated_instruction()
452 if (static_cpu_has(X86_FEATURE_NRIPS)) in svm_update_soft_interrupt_rip()
633 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_enable_virtualization_cpu()
2047 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in pf_interception()
2074 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in npf_interception()
2603 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception()
2651 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception()
3994 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb_asid()
4309 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run()
4314 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run()
[all …]
/linux/arch/x86/mm/
H A Dextable.c198 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
/linux/arch/x86/kernel/fpu/
H A Dsignal.c199 if (!static_cpu_has(X86_FEATURE_FPU)) { in copy_fpstate_to_sigframe()
H A Dcore.c784 if (!static_cpu_has(X86_FEATURE_FPU)) in switch_fpu_return()
/linux/drivers/thermal/intel/
H A Dtherm_throt.c654 if (static_cpu_has(X86_FEATURE_HWP)) in intel_thermal_interrupt()
/linux/arch/x86/kvm/
H A Dcpuid.c1429 if (!enable_pmu || !static_cpu_has(X86_FEATURE_ARCH_PERFMON)) { in __do_cpuid_func()
1646 (static_cpu_has(X86_FEATURE_LFENCE_RDTSC) in __do_cpuid_func()
/linux/arch/x86/mm/pat/
H A Dset_memory.c404 if (cache && !static_cpu_has(X86_FEATURE_CLFLUSH)) { in cpa_flush()

12