/linux-6.1.9/arch/x86/include/asm/ |
D | sync_core.h | 64 if (static_cpu_has(X86_FEATURE_SERIALIZE)) { in sync_core() 99 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
|
D | archrandom.h | 50 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()
|
D | switch_to.h | 69 if (static_cpu_has(X86_FEATURE_XENPV)) in update_task_stack() 75 if (static_cpu_has(X86_FEATURE_XENPV)) in update_task_stack()
|
D | cpufeature.h | 142 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit)) 191 #define static_cpu_has(bit) \ macro 202 #define static_cpu_has_bug(bit) static_cpu_has((bit))
|
D | pgtable-3level_types.h | 23 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
|
D | debugreg.h | 99 if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active()) in local_db_save()
|
/linux-6.1.9/arch/um/include/asm/ |
D | cpufeature.h | 53 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit)) 120 #define static_cpu_has(bit) \ macro 130 #define static_cpu_has_bug(bit) static_cpu_has((bit))
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_cache.c | 91 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-6.1.9/arch/x86/lib/ |
D | copy_mc.c | 66 if (static_cpu_has(X86_FEATURE_ERMS)) in copy_mc_to_kernel() 84 if (static_cpu_has(X86_FEATURE_ERMS)) { in copy_mc_to_user()
|
D | usercopy_32.c | 330 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2)) in __copy_from_user_ll_nocache_nozero()
|
/linux-6.1.9/arch/x86/events/intel/ |
D | lbr.c | 109 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in is_lbr_call_stack_bit_set() 138 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && !pmi && cpuc->lbr_sel) in __intel_pmu_lbr_enable() 144 if (!static_cpu_has(X86_FEATURE_ARCH_LBR)) in __intel_pmu_lbr_enable() 159 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in __intel_pmu_lbr_enable() 200 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && cpuc->lbr_select) in intel_pmu_lbr_reset() 418 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in lbr_is_reset_in_cstate() 625 if (!static_cpu_has(X86_FEATURE_ARCH_LBR)) in release_lbr_buffers() 644 if (!static_cpu_has(X86_FEATURE_ARCH_LBR)) in reserve_lbr_buffers() 702 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in intel_pmu_lbr_disable_all() 861 if (static_cpu_has(X86_FEATURE_ARCH_LBR) && in get_lbr_cycles() [all …]
|
/linux-6.1.9/arch/x86/mm/ |
D | tlb.c | 159 if (static_cpu_has(X86_FEATURE_PCID)) { in build_cr3() 193 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other() 219 if (!static_cpu_has(X86_FEATURE_PCID)) { in choose_new_asid() 270 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid() 1105 if (!static_cpu_has(X86_FEATURE_PTI)) in flush_tlb_one_kernel() 1126 if (!static_cpu_has(X86_FEATURE_PTI)) in native_flush_tlb_one_user() 1151 if (static_cpu_has(X86_FEATURE_INVPCID)) { in native_flush_tlb_global()
|
D | extable.c | 178 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
|
/linux-6.1.9/arch/x86/kernel/ |
D | process.c | 516 if (!static_cpu_has(X86_FEATURE_ZEN)) { in amd_set_core_ssb_state() 583 if (static_cpu_has(X86_FEATURE_VIRT_SSBD)) { in __speculation_ctrl_update() 586 } else if (static_cpu_has(X86_FEATURE_LS_CFG_SSBD)) { in __speculation_ctrl_update() 589 } else if (static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) || in __speculation_ctrl_update() 590 static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __speculation_ctrl_update()
|
D | process_64.c | 168 if (!static_cpu_has(X86_FEATURE_XENPV)) { in __rdgsbase_inactive() 193 if (!static_cpu_has(X86_FEATURE_XENPV)) { in __wrgsbase_inactive() 253 if (static_cpu_has(X86_FEATURE_FSGSBASE)) { in save_fsgs() 369 if (static_cpu_has(X86_FEATURE_FSGSBASE)) { in x86_fsgsbase_load() 511 if (static_cpu_has(X86_BUG_NULL_SEG)) { in start_thread_common()
|
D | time.c | 103 if (static_cpu_has(X86_FEATURE_WAITPKG)) in x86_late_time_init()
|
D | traps.c | 739 if (static_cpu_has(X86_FEATURE_UMIP)) { in DEFINE_IDTENTRY_ERRORCODE() 1255 if (!static_cpu_has(X86_FEATURE_XMM)) { in DEFINE_IDTENTRY()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_memcpy.c | 165 if (static_cpu_has(X86_FEATURE_XMM4_1) && in i915_memcpy_init_early()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_domain.c | 654 !static_cpu_has(X86_FEATURE_CLFLUSH)) { in i915_gem_object_prepare_read() 705 !static_cpu_has(X86_FEATURE_CLFLUSH)) { in i915_gem_object_prepare_write()
|
/linux-6.1.9/arch/x86/entry/ |
D | common.c | 230 return static_cpu_has(X86_FEATURE_SEP) && in do_fast_syscall_32()
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | bugs.c | 219 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) && in x86_virt_spec_ctrl() 220 !static_cpu_has(X86_FEATURE_VIRT_SSBD)) in x86_virt_spec_ctrl() 228 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE)) in x86_virt_spec_ctrl() 1802 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) && in __ssb_select_mitigation() 1803 !static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __ssb_select_mitigation()
|
/linux-6.1.9/arch/x86/kernel/apic/ |
D | apic_numachip.c | 33 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in numachip1_get_apic_id()
|
/linux-6.1.9/arch/x86/kernel/cpu/mtrr/ |
D | generic.c | 752 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in prepare_set() 772 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in prepare_set()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | svm.c | 384 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() 591 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_hardware_enable() 1958 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in pf_interception() 1972 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in npf_interception() 2483 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception() 2531 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception() 3733 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb_current() 3972 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run() 3980 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run() [all …]
|
/linux-6.1.9/arch/x86/kernel/fpu/ |
D | signal.c | 198 if (!static_cpu_has(X86_FEATURE_FPU)) { in copy_fpstate_to_sigframe()
|