Searched refs:static_cpu_has (Results 1 – 25 of 31) sorted by relevance
12
64 if (static_cpu_has(X86_FEATURE_SERIALIZE)) { in sync_core()99 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
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()
72 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))118 #define static_cpu_has(bit) \ macro129 #define static_cpu_has_bug(bit) static_cpu_has((bit))
132 if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active()) in local_db_save()
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()
52 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))119 #define static_cpu_has(bit) \ macro129 #define static_cpu_has_bug(bit) static_cpu_has((bit))
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()
330 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2)) in __copy_from_user_ll_nocache_nozero()
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 …]
85 if (static_cpu_has(X86_FEATURE_WAITPKG)) in x86_late_time_init()
571 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()
279 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()
803 if (static_cpu_has(X86_FEATURE_UMIP)) { in DEFINE_IDTENTRY_ERRORCODE()1359 if (!static_cpu_has(X86_FEATURE_XMM)) { in DEFINE_IDTENTRY()
64 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
360 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
164 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()
197 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
34 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in numachip1_get_apic_id()
185 if (!static_cpu_has(X86_FEATURE_FPU)) { in copy_fpstate_to_sigframe()
852 if (!static_cpu_has(X86_FEATURE_FPU)) in switch_fpu_return()
296 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 …]
329 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()
663 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in maybe_flush_caches()
1433 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()
1383 return static_cpu_has(X86_FEATURE_BRS) && x86_pmu.lbr_nr ? in amd_brs_is_visible()
Completed in 77 milliseconds