Home
last modified time | relevance | path

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

12

/arch/x86/include/asm/
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()
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()
A Dcpufeature.h72 (__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))
A Ddebugreg.h132 if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active()) in local_db_save()
A Dpgtable.h921 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl()
1469 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
/arch/um/include/asm/
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))
/arch/x86/lib/
A Dcopy_mc.c73 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()
A Dusercopy_32.c330 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2)) in __copy_from_user_ll_nocache_nozero()
/arch/x86/events/intel/
A Dlbr.c110 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 …]
/arch/x86/kernel/
A Dtime.c85 if (static_cpu_has(X86_FEATURE_WAITPKG)) in x86_late_time_init()
A Dprocess.c571 if (!static_cpu_has(X86_FEATURE_ZEN)) { in amd_set_core_ssb_state()
638 if (static_cpu_has(X86_FEATURE_VIRT_SSBD)) { in __speculation_ctrl_update()
641 } else if (static_cpu_has(X86_FEATURE_LS_CFG_SSBD)) { in __speculation_ctrl_update()
644 } else if (static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) || in __speculation_ctrl_update()
645 static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __speculation_ctrl_update()
A Dprocess_64.c279 if (static_cpu_has(X86_FEATURE_FSGSBASE)) { in save_fsgs()
395 if (static_cpu_has(X86_FEATURE_FSGSBASE)) { in x86_fsgsbase_load()
537 if (static_cpu_has(X86_BUG_NULL_SEG)) { in start_thread_common()
A Dtraps.c803 if (static_cpu_has(X86_FEATURE_UMIP)) { in DEFINE_IDTENTRY_ERRORCODE()
1359 if (!static_cpu_has(X86_FEATURE_XMM)) { in DEFINE_IDTENTRY()
A Dldt.c64 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
A Dsignal_32.c360 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
/arch/x86/mm/
A Dtlb.c164 if (static_cpu_has(X86_FEATURE_PCID)) { in build_cr3()
199 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other()
229 if (!static_cpu_has(X86_FEATURE_PCID)) { in choose_new_asid()
557 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid()
1587 if (!static_cpu_has(X86_FEATURE_PTI)) in flush_tlb_one_kernel()
1611 if (!static_cpu_has(X86_FEATURE_PTI)) in native_flush_tlb_one_user()
1640 if (static_cpu_has(X86_FEATURE_INVPCID)) { in native_flush_tlb_global()
A Dextable.c197 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
/arch/x86/kernel/apic/
A Dapic_numachip.c34 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in numachip1_get_apic_id()
/arch/x86/kernel/fpu/
A Dsignal.c185 if (!static_cpu_has(X86_FEATURE_FPU)) { in copy_fpstate_to_sigframe()
A Dcore.c852 if (!static_cpu_has(X86_FEATURE_FPU)) in switch_fpu_return()
/arch/x86/kvm/svm/
A Dsvm.c296 WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS)); in __svm_skip_emulated_instruction()
364 if (static_cpu_has(X86_FEATURE_NRIPS)) in svm_update_soft_interrupt_rip()
539 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_enable_virtualization_cpu()
1935 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in pf_interception()
1962 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in npf_interception()
2488 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception()
2536 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception()
3987 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb_asid()
4313 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run()
4318 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run()
[all …]
/arch/x86/kernel/cpu/
A Dbugs.c329 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) && in x86_virt_spec_ctrl()
330 !static_cpu_has(X86_FEATURE_VIRT_SSBD)) in x86_virt_spec_ctrl()
338 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE)) in x86_virt_spec_ctrl()
2741 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) && in ssb_apply_mitigation()
2742 !static_cpu_has(X86_FEATURE_AMD_SSBD)) { in ssb_apply_mitigation()
A Dcacheinfo.c663 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in maybe_flush_caches()
/arch/x86/kvm/
A Dcpuid.c1433 if (!enable_pmu || !static_cpu_has(X86_FEATURE_ARCH_PERFMON)) { in __do_cpuid_func()
1648 (static_cpu_has(X86_FEATURE_LFENCE_RDTSC) in __do_cpuid_func()
/arch/x86/events/amd/
A Dcore.c1383 return static_cpu_has(X86_FEATURE_BRS) && x86_pmu.lbr_nr ? in amd_brs_is_visible()

Completed in 77 milliseconds

12