| /linux-6.15/arch/um/include/asm/ |
| H A D | cpufeature.h | 52 (__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-6.15/arch/x86/include/asm/ |
| H A 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()
|
| H A D | cpufeature.h | 72 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit)) 118 #define static_cpu_has(bit) \ macro 129 #define static_cpu_has_bug(bit) static_cpu_has((bit))
|
| H A 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()
|
| H A D | pgtable-3level_types.h | 30 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
|
| H A D | debugreg.h | 124 if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active()) in local_db_save()
|
| /linux-6.15/drivers/gpu/drm/ |
| H A 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.15/arch/x86/lib/ |
| H A D | copy_mc.c | 73 if (static_cpu_has(X86_FEATURE_ERMS)) { in copy_mc_to_kernel() 96 if (static_cpu_has(X86_FEATURE_ERMS)) { in copy_mc_to_user()
|
| H A D | usercopy_32.c | 330 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2)) in __copy_from_user_ll_nocache_nozero()
|
| /linux-6.15/arch/x86/events/intel/ |
| H A D | lbr.c | 110 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in is_lbr_call_stack_bit_set() 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() 419 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() 731 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in intel_pmu_lbr_disable_all() 890 if (static_cpu_has(X86_FEATURE_ARCH_LBR) && in get_lbr_cycles() 1125 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) { in intel_pmu_setup_hw_lbr_filter() 1233 if (static_cpu_has(X86_FEATURE_ARCH_LBR) && in intel_pmu_lbr_filter() [all …]
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | process.c | 562 if (!static_cpu_has(X86_FEATURE_ZEN)) { in amd_set_core_ssb_state() 629 if (static_cpu_has(X86_FEATURE_VIRT_SSBD)) { in __speculation_ctrl_update() 632 } else if (static_cpu_has(X86_FEATURE_LS_CFG_SSBD)) { in __speculation_ctrl_update() 635 } else if (static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) || in __speculation_ctrl_update() 636 static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __speculation_ctrl_update()
|
| H A D | time.c | 85 if (static_cpu_has(X86_FEATURE_WAITPKG)) in x86_late_time_init()
|
| H A D | process_64.c | 278 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 D | traps.c | 802 if (static_cpu_has(X86_FEATURE_UMIP)) { in DEFINE_IDTENTRY_ERRORCODE() 1350 if (!static_cpu_has(X86_FEATURE_XMM)) { in DEFINE_IDTENTRY()
|
| H A D | ldt.c | 64 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
|
| /linux-6.15/arch/x86/mm/ |
| H A D | tlb.c | 163 if (static_cpu_has(X86_FEATURE_PCID)) { in build_cr3() 198 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other() 224 if (!static_cpu_has(X86_FEATURE_PCID)) { in choose_new_asid() 551 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid() 1517 if (!static_cpu_has(X86_FEATURE_PTI)) in flush_tlb_one_kernel() 1541 if (!static_cpu_has(X86_FEATURE_PTI)) in native_flush_tlb_one_user() 1570 if (static_cpu_has(X86_FEATURE_INVPCID)) { in native_flush_tlb_global()
|
| H A D | extable.c | 198 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_memcpy.c | 169 if (static_cpu_has(X86_FEATURE_XMM4_1) && in i915_memcpy_init_early()
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_domain.c | 686 !static_cpu_has(X86_FEATURE_CLFLUSH)) { in i915_gem_object_prepare_read() 737 !static_cpu_has(X86_FEATURE_CLFLUSH)) { in i915_gem_object_prepare_write()
|
| /linux-6.15/arch/x86/kernel/apic/ |
| H A D | apic_numachip.c | 33 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in numachip1_get_apic_id()
|
| /linux-6.15/arch/x86/kernel/cpu/ |
| H A D | bugs.c | 207 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) && in x86_virt_spec_ctrl() 208 !static_cpu_has(X86_FEATURE_VIRT_SSBD)) in x86_virt_spec_ctrl() 216 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE)) in x86_virt_spec_ctrl() 2250 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) && in __ssb_select_mitigation() 2251 !static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __ssb_select_mitigation()
|
| H A D | cacheinfo.c | 1060 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in cache_disable() 1077 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in cache_disable()
|
| /linux-6.15/arch/x86/kvm/svm/ |
| H A 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() 633 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_enable_virtualization_cpu() 2114 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in pf_interception() 2141 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in npf_interception() 2674 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception() 2722 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception() 4075 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb_asid() 4398 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run() 4403 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run() [all …]
|
| /linux-6.15/arch/x86/kernel/fpu/ |
| H A D | signal.c | 194 if (!static_cpu_has(X86_FEATURE_FPU)) { in copy_fpstate_to_sigframe()
|
| /linux-6.15/drivers/thermal/intel/ |
| H A D | therm_throt.c | 654 if (static_cpu_has(X86_FEATURE_HWP)) in intel_thermal_interrupt()
|