/Linux-v4.19/arch/x86/kernel/fpu/ |
D | core.c | 175 if (!static_cpu_has(X86_FEATURE_FPU)) { in fpstate_init() 182 if (static_cpu_has(X86_FEATURE_XSAVES)) in fpstate_init() 184 if (static_cpu_has(X86_FEATURE_FXSR)) in fpstate_init() 195 if (!src_fpu->initialized || !static_cpu_has(X86_FEATURE_FPU)) in fpu__copy() 370 else if (static_cpu_has(X86_FEATURE_FXSR)) in copy_init_fpstate_to_fpregs() 394 if (static_cpu_has(X86_FEATURE_FPU)) { in fpu__clear()
|
D | signal.c | 170 if (!static_cpu_has(X86_FEATURE_FPU)) in copy_fpstate_to_sigframe() 289 if (!static_cpu_has(X86_FEATURE_FPU)) in __fpu__restore_sig()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | tlbflush.h | 123 if (static_cpu_has(X86_FEATURE_PCID)) { in build_cr3() 164 return !static_cpu_has(X86_FEATURE_PCID); in tlb_defer_switch_to_init_mm() 386 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid() 418 if (static_cpu_has(X86_FEATURE_INVPCID)) { in __native_flush_tlb_global() 454 if (!static_cpu_has(X86_FEATURE_PTI)) in __native_flush_tlb_one_user() 502 if (!static_cpu_has(X86_FEATURE_PTI)) in __flush_tlb_one_kernel()
|
D | pgtable-3level_types.h | 24 #define SHARED_KERNEL_PMD ((!static_cpu_has(X86_FEATURE_PTI) && \ 27 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
|
D | cpufeature.h | 127 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit)) 153 #define static_cpu_has(bit) boot_cpu_has(bit) macro 206 #define static_cpu_has(bit) \ macro 218 #define static_cpu_has_bug(bit) static_cpu_has((bit))
|
D | archrandom.h | 90 #define arch_has_random() static_cpu_has(X86_FEATURE_RDRAND) 91 #define arch_has_random_seed() static_cpu_has(X86_FEATURE_RDSEED)
|
D | switch_to.h | 94 if (static_cpu_has(X86_FEATURE_XENPV)) in update_task_stack() 105 if (static_cpu_has(X86_FEATURE_XENPV)) in update_task_stack()
|
D | sync_core.h | 17 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
|
D | mmu_context.h | 122 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 85 if (!static_cpu_has(X86_FEATURE_APERFMPERF)) in aperfmperf_get_khz() 101 if (!static_cpu_has(X86_FEATURE_APERFMPERF)) in arch_freq_prepare_all() 117 if (!static_cpu_has(X86_FEATURE_APERFMPERF)) in arch_freq_get_on_cpu()
|
D | bugs.c | 160 if (static_cpu_has(X86_FEATURE_MSR_SPEC_CTRL)) { in x86_virt_spec_ctrl() 170 if (static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) || in x86_virt_spec_ctrl() 171 static_cpu_has(X86_FEATURE_AMD_SSBD)) in x86_virt_spec_ctrl() 184 if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) && in x86_virt_spec_ctrl() 185 !static_cpu_has(X86_FEATURE_VIRT_SSBD)) in x86_virt_spec_ctrl() 193 if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE)) in x86_virt_spec_ctrl() 540 if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) && in __ssb_select_mitigation() 541 !static_cpu_has(X86_FEATURE_AMD_SSBD)) { in __ssb_select_mitigation()
|
D | proc.c | 41 static_cpu_has(X86_FEATURE_FPU) ? "yes" : "no", in show_cpuinfo_misc() 42 static_cpu_has(X86_FEATURE_FPU) ? "yes" : "no", in show_cpuinfo_misc()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_cache.c | 85 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_pages() 125 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_sg() 157 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_virt_range()
|
/Linux-v4.19/arch/x86/include/asm/fpu/ |
D | internal.h | 64 return static_cpu_has(X86_FEATURE_XSAVEOPT); in use_xsaveopt() 69 return static_cpu_has(X86_FEATURE_XSAVE); in use_xsave() 74 return static_cpu_has(X86_FEATURE_FXSR); in use_fxsr() 291 if (static_cpu_has(X86_FEATURE_XSAVES)) in copy_xregs_to_kernel_booting() 313 if (static_cpu_has(X86_FEATURE_XSAVES)) in copy_kernel_to_xregs_booting() 531 if (static_cpu_has(X86_FEATURE_FPU) && old_fpu->initialized) { in switch_fpu_prepare() 553 bool preload = static_cpu_has(X86_FEATURE_FPU) && in switch_fpu_finish()
|
/Linux-v4.19/arch/x86/kernel/ |
D | ldt.c | 116 if (static_cpu_has(X86_FEATURE_PTI)) in do_sanity_check() 124 if (static_cpu_has(X86_FEATURE_PTI)) in do_sanity_check() 159 if (static_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) in map_ldt_struct_to_user() 184 if (static_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) in map_ldt_struct_to_user() 220 if (!static_cpu_has(X86_FEATURE_PTI)) in map_ldt_struct() 298 if (!static_cpu_has(X86_FEATURE_PTI)) in free_ldt_pgtables()
|
D | process.c | 234 if (!static_cpu_has(X86_FEATURE_CPUID_FAULT)) in set_cpuid_mode() 347 if (!static_cpu_has(X86_FEATURE_ZEN)) { in amd_set_core_ssb_state() 407 if (static_cpu_has(X86_FEATURE_VIRT_SSBD)) in __speculative_store_bypass_update() 409 else if (static_cpu_has(X86_FEATURE_LS_CFG_SSBD)) in __speculative_store_bypass_update()
|
D | process_64.c | 370 if (static_cpu_has(X86_BUG_NULL_SEG)) { in start_thread_common() 505 if (unlikely(static_cpu_has(X86_FEATURE_XENPV) && in __switch_to()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_memcpy.c | 103 if (static_cpu_has(X86_FEATURE_XMM4_1) && in i915_memcpy_init_early()
|
/Linux-v4.19/arch/x86/kernel/apic/ |
D | apic_numachip.c | 33 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in numachip1_get_apic_id() 178 if (static_cpu_has(X86_FEATURE_NODEID_MSR)) { in fixup_cpu_id()
|
/Linux-v4.19/drivers/cpufreq/ |
D | amd_freq_sensitivity.c | 122 if (!static_cpu_has(X86_FEATURE_PROC_FEEDBACK)) in amd_freq_sensitivity_init()
|
D | intel_pstate.c | 503 if (!static_cpu_has(X86_FEATURE_EPB)) in intel_pstate_get_epb() 517 if (static_cpu_has(X86_FEATURE_HWP_EPP)) { in intel_pstate_get_epp() 542 if (!static_cpu_has(X86_FEATURE_EPB)) in intel_pstate_set_epb() 590 if (static_cpu_has(X86_FEATURE_HWP_EPP)) { in intel_pstate_get_energy_pref_index() 599 } else if (static_cpu_has(X86_FEATURE_EPB)) { in intel_pstate_get_energy_pref_index() 627 if (static_cpu_has(X86_FEATURE_HWP_EPP)) { in intel_pstate_set_energy_pref_index() 782 if (static_cpu_has(X86_FEATURE_HWP_EPP)) { in intel_pstate_hwp_set() 1132 if (static_cpu_has(X86_FEATURE_HWP_NOTIFY)) in intel_pstate_hwp_enable()
|
/Linux-v4.19/arch/x86/kvm/ |
D | cpuid.h | 99 !static_cpu_has(X86_FEATURE_XSAVE)) in guest_cpuid_has()
|
/Linux-v4.19/arch/x86/mm/ |
D | extable.c | 153 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
|
D | tlb.c | 46 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other() 72 if (!static_cpu_has(X86_FEATURE_PCID)) { in choose_new_asid()
|
/Linux-v4.19/arch/x86/lib/ |
D | usercopy_32.c | 349 if (n > 64 && static_cpu_has(X86_FEATURE_XMM2)) in __copy_from_user_ll_nocache_nozero()
|