Searched refs:static_cpu_has (Results 1 – 25 of 30) sorted by relevance
12
85 return static_cpu_has(X86_FEATURE_RDRAND) ? rdrand_long(v) : false; in arch_get_random_long()90 return static_cpu_has(X86_FEATURE_RDRAND) ? rdrand_int(v) : false; in arch_get_random_int()95 return static_cpu_has(X86_FEATURE_RDSEED) ? rdseed_long(v) : false; in arch_get_random_seed_long()100 return static_cpu_has(X86_FEATURE_RDSEED) ? rdseed_int(v) : false; in arch_get_random_seed_int()
24 #define SHARED_KERNEL_PMD ((!static_cpu_has(X86_FEATURE_PTI) && \27 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
123 if (static_cpu_has(X86_FEATURE_PCID)) { in build_cr3()392 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid()424 if (static_cpu_has(X86_FEATURE_INVPCID)) { in __native_flush_tlb_global()460 if (!static_cpu_has(X86_FEATURE_PTI)) in __native_flush_tlb_one_user()514 if (!static_cpu_has(X86_FEATURE_PTI)) in __flush_tlb_one_kernel()
92 if (static_cpu_has(X86_FEATURE_XENPV)) in update_task_stack()103 if (static_cpu_has(X86_FEATURE_XENPV)) in update_task_stack()
143 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))169 #define static_cpu_has(bit) boot_cpu_has(bit) macro225 #define static_cpu_has(bit) \ macro237 #define static_cpu_has_bug(bit) static_cpu_has((bit))
17 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
123 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
697 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl()1305 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
158 if (!static_cpu_has(X86_FEATURE_FPU)) { in fpstate_init()165 if (static_cpu_has(X86_FEATURE_XSAVES)) in fpstate_init()167 if (static_cpu_has(X86_FEATURE_FXSR)) in fpstate_init()181 if (!static_cpu_has(X86_FEATURE_FPU)) in fpu__copy()310 else if (static_cpu_has(X86_FEATURE_FXSR)) in copy_init_fpstate_to_fpregs()338 if (static_cpu_has(X86_FEATURE_FPU)) in fpu__clear()347 if (!static_cpu_has(X86_FEATURE_FPU)) in switch_fpu_return()
176 if (!static_cpu_has(X86_FEATURE_FPU)) in copy_fpstate_to_sigframe()297 if (!static_cpu_has(X86_FEATURE_FPU)) { in __fpu__restore_sig()
63 return static_cpu_has(X86_FEATURE_XSAVEOPT); in use_xsaveopt()68 return static_cpu_has(X86_FEATURE_XSAVE); in use_xsave()73 return static_cpu_has(X86_FEATURE_FXSR); in use_fxsr()567 if (static_cpu_has(X86_FEATURE_FPU) && !(prev->flags & PF_KTHREAD)) { in switch_fpu_prepare()592 if (!static_cpu_has(X86_FEATURE_FPU)) in switch_fpu_finish()
365 if (!static_cpu_has(X86_FEATURE_ZEN)) { in amd_set_core_ssb_state()432 if (static_cpu_has(X86_FEATURE_VIRT_SSBD)) { in __speculation_ctrl_update()435 } else if (static_cpu_has(X86_FEATURE_LS_CFG_SSBD)) { in __speculation_ctrl_update()438 } else if (static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) || in __speculation_ctrl_update()439 static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __speculation_ctrl_update()
456 if (static_cpu_has(X86_BUG_NULL_SEG)) { in start_thread_common()579 if (unlikely(static_cpu_has(X86_FEATURE_XENPV) && in __switch_to()
526 if (static_cpu_has(X86_FEATURE_UMIP)) { in do_general_protection()
133 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
55 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other()81 if (!static_cpu_has(X86_FEATURE_PCID)) { in choose_new_asid()
98 !static_cpu_has(X86_FEATURE_XSAVE)) in guest_cpuid_has()
786 WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS)); in skip_emulated_instruction()907 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) in svm_hardware_disable()949 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_hardware_enable()2346 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_vcpu_load()2354 if (static_cpu_has(X86_FEATURE_RDTSCP)) in svm_vcpu_load()2766 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in pf_interception()2778 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in npf_interception()4000 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception()4060 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception()5548 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb()[all …]
166 if (static_cpu_has(X86_FEATURE_MSR_SPEC_CTRL)) { in x86_virt_spec_ctrl()177 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) && in x86_virt_spec_ctrl()178 !static_cpu_has(X86_FEATURE_VIRT_SSBD)) in x86_virt_spec_ctrl()186 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE)) in x86_virt_spec_ctrl()1778 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) && in __ssb_select_mitigation()1779 !static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __ssb_select_mitigation()
349 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2)) in __copy_from_user_ll_nocache_nozero()
33 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in numachip1_get_apic_id()
753 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in prepare_set()773 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in prepare_set()
430 return static_cpu_has(X86_FEATURE_SEP) && in do_fast_syscall_32()
357 if (static_cpu_has(X86_FEATURE_HWP)) in intel_thermal_interrupt()
362 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()