/linux-6.12.1/arch/x86/include/asm/ |
D | kvm_para.h | 38 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in kvm_hypercall0() 52 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in kvm_hypercall1() 67 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in kvm_hypercall2() 82 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in kvm_hypercall3() 98 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in kvm_hypercall4()
|
D | pkeys.h | 10 #define arch_max_pkey() (cpu_feature_enabled(X86_FEATURE_OSPKE) ? 16 : 1) 17 return cpu_feature_enabled(X86_FEATURE_OSPKE); in arch_pkeys_enabled() 27 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in execute_only_pkey() 38 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_override_mprotect_pkey()
|
D | pkru.h | 37 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) in read_pkru() 44 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in write_pkru() 56 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in pkru_write_default()
|
D | vmware.h | 103 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in vmware_hypercall1() 128 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in vmware_hypercall3() 153 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in vmware_hypercall4() 179 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in vmware_hypercall5() 207 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in vmware_hypercall6() 235 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) in vmware_hypercall7()
|
D | gsseg.h | 30 if (cpu_feature_enabled(X86_FEATURE_LKGS)) { in native_load_gs_index() 47 if (cpu_feature_enabled(X86_FEATURE_LKGS)) in lkgs_init()
|
D | entry-common.h | 28 if (cpu_feature_enabled(X86_FEATURE_SMAP) || in arch_enter_from_user_mode() 29 cpu_feature_enabled(X86_FEATURE_XENPV)) in arch_enter_from_user_mode()
|
D | switch_to.h | 73 if (!cpu_feature_enabled(X86_FEATURE_FRED) && cpu_feature_enabled(X86_FEATURE_XENPV)) in update_task_stack()
|
/linux-6.12.1/arch/x86/kernel/fpu/ |
D | regset.c | 76 if (!cpu_feature_enabled(X86_FEATURE_FXSR)) in xfpregs_get() 98 if (!cpu_feature_enabled(X86_FEATURE_FXSR)) in xfpregs_set() 133 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_get() 150 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_set() 193 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK)) in ssp_get() 222 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK) || in ssp_set() 409 if (!cpu_feature_enabled(X86_FEATURE_FPU)) in fpregs_get() 412 if (!cpu_feature_enabled(X86_FEATURE_FXSR)) { in fpregs_get() 443 if (!cpu_feature_enabled(X86_FEATURE_FPU)) in fpregs_set() 452 if (cpu_feature_enabled(X86_FEATURE_FXSR)) in fpregs_set() [all …]
|
D | xstate.c | 149 if (!cpu_feature_enabled(X86_FEATURE_XCOMPACTED) || in xfeature_get_offset() 187 if (cpu_feature_enabled(X86_FEATURE_XFD)) in fpu__init_cpu_xstate() 323 if (cpu_feature_enabled(X86_FEATURE_XSAVES)) in os_xrstor_booting() 587 bool compacted = cpu_feature_enabled(X86_FEATURE_XCOMPACTED); in paranoid_xstate_size_valid() 588 bool xsaves = cpu_feature_enabled(X86_FEATURE_XSAVES); in paranoid_xstate_size_valid() 685 bool compacted = cpu_feature_enabled(X86_FEATURE_XCOMPACTED); in init_xstate_size() 808 if (!cpu_feature_enabled(X86_FEATURE_XFD)) in fpu__init_system_xstate() 811 if (!cpu_feature_enabled(X86_FEATURE_XSAVES)) in fpu__init_system_xstate() 839 if (cpu_feature_enabled(X86_FEATURE_XSAVEC) || in fpu__init_system_xstate() 840 cpu_feature_enabled(X86_FEATURE_XSAVES)) in fpu__init_system_xstate() [all …]
|
D | internal.h | 10 return cpu_feature_enabled(X86_FEATURE_XSAVE); in use_xsave() 15 return cpu_feature_enabled(X86_FEATURE_FXSR); in use_fxsr()
|
D | core.c | 378 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) { in fpu_copy_guest_fpstate_to_uabi() 396 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) { in fpu_copy_uabi_to_guest_fpstate() 506 if (!cpu_feature_enabled(X86_FEATURE_FPU)) { in fpstate_init_user() 513 if (cpu_feature_enabled(X86_FEATURE_FXSR)) in fpstate_init_user() 595 if (!cpu_feature_enabled(X86_FEATURE_FPU)) in fpu_clone() 746 if (!cpu_feature_enabled(X86_FEATURE_FPU)) { in fpu__clear_user_states() 912 if (cpu_feature_enabled(X86_FEATURE_AMX_TILE) && in fpu_idle_fpregs()
|
D | xstate.h | 19 if (cpu_feature_enabled(X86_FEATURE_XCOMPACTED)) in xstate_init_xcomp_bv() 66 if (!cpu_feature_enabled(X86_FEATURE_ARCH_LBR)) in xfeatures_mask_independent() 320 if (cpu_feature_enabled(X86_FEATURE_XSAVES)) in os_xrstor_safe()
|
D | init.c | 193 if (!cpu_feature_enabled(X86_FEATURE_FPU)) { in fpu__init_system_xstate_size_legacy() 195 } else if (cpu_feature_enabled(X86_FEATURE_FXSR)) { in fpu__init_system_xstate_size_legacy()
|
/linux-6.12.1/arch/x86/kernel/cpu/mtrr/ |
D | legacy.c | 16 if (cpu_feature_enabled(X86_FEATURE_K6_MTRR)) in mtrr_set_if() 20 if (cpu_feature_enabled(X86_FEATURE_CENTAUR_MCR)) in mtrr_set_if() 24 if (cpu_feature_enabled(X86_FEATURE_CYRIX_ARR)) in mtrr_set_if()
|
/linux-6.12.1/arch/x86/kernel/ |
D | shstk.c | 167 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK) || in_ia32_syscall()) in shstk_setup() 353 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK) || in setup_signal_shadow_stack() 386 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK) || in restore_signal_shadow_stack() 409 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK) || in shstk_free() 447 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK)) in wrss_control() 486 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK)) in shstk_disable() 510 if (!cpu_feature_enabled(X86_FEATURE_USER_SHSTK)) in SYSCALL_DEFINE3()
|
D | process_64.c | 191 if (!cpu_feature_enabled(X86_FEATURE_FRED) && in __rdgsbase_inactive() 192 !cpu_feature_enabled(X86_FEATURE_XENPV)) { in __rdgsbase_inactive() 217 if (!cpu_feature_enabled(X86_FEATURE_FRED) && in __wrgsbase_inactive() 218 !cpu_feature_enabled(X86_FEATURE_XENPV)) { in __wrgsbase_inactive() 377 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in x86_pkru_load() 573 if (cpu_feature_enabled(X86_FEATURE_FRED)) { in start_thread_common() 829 if (!cpu_feature_enabled(X86_FEATURE_LAM)) in prctl_enable_tagged_addr() 964 if (!cpu_feature_enabled(X86_FEATURE_LAM)) in do_arch_prctl_64()
|
D | cet.c | 121 if (cpu_feature_enabled(X86_FEATURE_USER_SHSTK)) in DEFINE_IDTENTRY_ERRORCODE() 126 if (cpu_feature_enabled(X86_FEATURE_IBT)) in DEFINE_IDTENTRY_ERRORCODE()
|
D | static_call.c | 84 if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) in __static_call_transform() 93 if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) in __static_call_transform()
|
/linux-6.12.1/arch/x86/kernel/cpu/ |
D | tsx.c | 121 } else if (cpu_feature_enabled(X86_FEATURE_MSR_TSX_CTRL)) { in tsx_clear_cpuid() 145 !cpu_feature_enabled(X86_FEATURE_MSR_TSX_CTRL) || in tsx_dev_mode_disable() 146 !cpu_feature_enabled(X86_FEATURE_SRBDS_CTRL)) in tsx_dev_mode_disable()
|
D | common.c | 381 if (!cpu_feature_enabled(X86_FEATURE_UMIP)) in setup_umip() 520 if (pku_disabled || !cpu_feature_enabled(X86_FEATURE_PKU)) in setup_pku() 528 } else if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) { in setup_pku() 564 if (cpu_feature_enabled(X86_FEATURE_IBT)) { in ibt_save() 577 if (cpu_feature_enabled(X86_FEATURE_IBT)) { in ibt_restore() 594 kernel_ibt = HAS_KERNEL_IBT && cpu_feature_enabled(X86_FEATURE_IBT); in setup_cet() 595 user_shstk = cpu_feature_enabled(X86_FEATURE_SHSTK) && in setup_cet() 620 if (!(cpu_feature_enabled(X86_FEATURE_IBT) || in cet_disable() 621 cpu_feature_enabled(X86_FEATURE_SHSTK))) in cet_disable() 1352 !cpu_feature_enabled(X86_FEATURE_SEV_SNP))) { in cpu_set_bug_bits() [all …]
|
D | aperfmperf.c | 474 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in arch_scale_freq_tick() 508 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in arch_freq_get_on_cpu() 534 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in bp_init_aperfmperf() 545 if (cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in ap_init_aperfmperf()
|
/linux-6.12.1/arch/x86/include/asm/fpu/ |
D | sched.h | 42 if (cpu_feature_enabled(X86_FEATURE_FPU) && in switch_fpu_prepare() 67 if (cpu_feature_enabled(X86_FEATURE_FPU)) in switch_fpu_finish()
|
/linux-6.12.1/arch/x86/kernel/acpi/ |
D | cppc.c | 117 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in init_freq_invariance_cppc() 147 if (cpu_feature_enabled(X86_FEATURE_CPPC)) { in amd_get_highest_perf() 260 if (cpu_feature_enabled(X86_FEATURE_ZEN4)) { in amd_get_boost_ratio_numerator()
|
/linux-6.12.1/drivers/cpufreq/ |
D | amd-pstate.c | 146 if (cpu_feature_enabled(X86_FEATURE_ZEN2)) { in dmi_matched_7k62_bios_bug() 188 if (cpu_feature_enabled(X86_FEATURE_CPPC)) { in amd_pstate_get_epp() 261 if (cpu_feature_enabled(X86_FEATURE_CPPC)) { in amd_pstate_set_epp() 740 if (!cpu_feature_enabled(X86_FEATURE_CPB)) { in amd_pstate_init_boost_support() 850 if (cpu_feature_enabled(X86_FEATURE_FAST_CPPC)) in amd_pstate_get_transition_delay_us() 1000 if (cpu_feature_enabled(X86_FEATURE_CPPC)) in amd_pstate_cpu_init() 1240 if (cpu_feature_enabled(X86_FEATURE_CPPC) || cppc_state == AMD_PSTATE_ACTIVE) in amd_pstate_change_mode_without_dvr_change() 1476 if (cpu_feature_enabled(X86_FEATURE_CPPC)) { in amd_pstate_epp_cpu_init() 1567 if (cpu_feature_enabled(X86_FEATURE_CPPC)) { in amd_pstate_epp_update_limit() 1615 if (cpu_feature_enabled(X86_FEATURE_CPPC)) { in amd_pstate_epp_reenable() [all …]
|
/linux-6.12.1/arch/x86/entry/ |
D | common.c | 98 if (cpu_feature_enabled(X86_FEATURE_XENPV)) in do_syscall_64() 178 if (cpu_feature_enabled(X86_FEATURE_XENPV)) in int80_is_external() 421 if (cpu_feature_enabled(X86_FEATURE_XENPV)) in do_fast_syscall_32()
|