| /linux/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)) 119 #define static_cpu_has(bit) \ macro 130 #define static_cpu_has_bug(bit) static_cpu_has((bit))
|
| H A D | archrandom.h | 48 return max_longs && static_cpu_has(X86_FEATURE_RDRAND) && rdrand_long(v) ? 1 : 0; in arch_get_random_longs() 53 return max_longs && static_cpu_has(X86_FEATURE_RDSEED) && rdseed_long(v) ? 1 : 0; in arch_get_random_seed_longs()
|
| H A D | debugreg.h | 132 if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active()) in local_db_save()
|
| H A D | pgtable.h | 921 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl() 1469 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
|
| /linux/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/drivers/gpu/drm/ |
| H A D | drm_cache.c | 91 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_pages() 130 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_sg() 160 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_virt_range() 335 if (static_cpu_has(X86_FEATURE_XMM4_1) && in drm_memcpy_init_early()
|
| /linux/arch/x86/mm/ |
| H A D | tlb.c | 165 if (static_cpu_has(X86_FEATURE_PCID)) { in build_cr3() 200 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other() 230 if (!static_cpu_has(X86_FEATURE_PCID)) { in choose_new_asid() 558 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid() 1608 if (!static_cpu_has(X86_FEATURE_PTI)) in flush_tlb_one_kernel() 1632 if (!static_cpu_has(X86_FEATURE_PTI)) in native_flush_tlb_one_user() 1661 if (static_cpu_has(X86_FEATURE_INVPCID)) { in native_flush_tlb_global()
|
| H A D | extable.c | 197 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
|
| /linux/arch/x86/kernel/ |
| H A D | time.c | 85 if (static_cpu_has(X86_FEATURE_WAITPKG)) in x86_late_time_init()
|
| H A D | ldt.c | 64 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
|
| H A D | signal_32.c | 360 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
|
| /linux/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/arch/x86/kvm/svm/ |
| H A D | svm.c | 289 WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS)); in __svm_skip_emulated_instruction() 359 if (static_cpu_has(X86_FEATURE_NRIPS)) in svm_update_soft_interrupt_rip() 534 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_enable_virtualization_cpu() 1860 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in pf_interception() 1887 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in npf_interception() 2413 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception() 2462 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception() 3942 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb_asid() 4276 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run() 4281 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run() [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | bugs.c | 195 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) && in x86_virt_spec_ctrl() 196 !static_cpu_has(X86_FEATURE_VIRT_SSBD)) in x86_virt_spec_ctrl() 204 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE)) in x86_virt_spec_ctrl() 2461 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) && in ssb_apply_mitigation() 2462 !static_cpu_has(X86_FEATURE_AMD_SSBD)) { in ssb_apply_mitigation()
|
| H A D | cacheinfo.c | 657 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in maybe_flush_caches()
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | core.c | 882 if (!static_cpu_has(X86_FEATURE_FPU)) in switch_fpu_return()
|
| /linux/arch/x86/kvm/ |
| H A D | cpuid.c | 1480 if (!enable_pmu || !static_cpu_has(X86_FEATURE_ARCH_PERFMON)) { in __do_cpuid_func() 1695 (static_cpu_has(X86_FEATURE_LFENCE_RDTSC) in __do_cpuid_func()
|
| H A D | xen.c | 215 if (!static_cpu_has(X86_FEATURE_CONSTANT_TSC) || in kvm_xen_start_timer()
|
| H A D | x86.c | 1780 if (!static_cpu_has(X86_FEATURE_XSAVES) && in set_efer() 3190 if (static_cpu_has(X86_FEATURE_CONSTANT_TSC)) in get_cpu_tsc_khz() 3207 (static_cpu_has(X86_FEATURE_CONSTANT_TSC) || __this_cpu_read(cpu_tsc_khz))) { in __get_kvmclock()
|
| /linux/arch/x86/events/ |
| H A D | perf_event.h | 1158 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in task_context_opt()
|
| /linux/arch/x86/mm/pat/ |
| H A D | set_memory.c | 443 if (cache && !static_cpu_has(X86_FEATURE_CLFLUSH)) { in cpa_flush()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 412 if (static_cpu_has(X86_FEATURE_FLUSH_L1D)) { in vmx_l1d_flush() 1793 if (!static_cpu_has(X86_FEATURE_HYPERVISOR) || in skip_emulated_instruction() 8704 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in vmx_hardware_setup()
|
| /linux/drivers/md/ |
| H A D | dm-writecache.c | 1230 if (static_cpu_has(X86_FEATURE_CLFLUSHOPT) && in memcpy_flushcache_optimized()
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 5799 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && x86_pmu.lbr_nr) in intel_pmu_cpu_starting()
|