/linux-5.19.10/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 | mmu_context.h | 111 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context() 158 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
|
D | timex.h | 11 !cpu_feature_enabled(X86_FEATURE_TSC)) in random_get_entropy()
|
D | acenv.h | 26 if (!cpu_feature_enabled(X86_FEATURE_HYPERVISOR)) \
|
D | tsc.h | 24 !cpu_feature_enabled(X86_FEATURE_TSC)) in get_cycles()
|
D | pgtable_64_types.h | 36 #define pgtable_l5_enabled() cpu_feature_enabled(X86_FEATURE_LA57)
|
/linux-5.19.10/arch/x86/kernel/fpu/ |
D | regset.c | 75 if (!cpu_feature_enabled(X86_FEATURE_FXSR)) in xfpregs_get() 97 if (!cpu_feature_enabled(X86_FEATURE_FXSR)) in xfpregs_set() 132 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_get() 149 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_set() 328 if (!cpu_feature_enabled(X86_FEATURE_FPU)) in fpregs_get() 331 if (!cpu_feature_enabled(X86_FEATURE_FXSR)) { in fpregs_get() 362 if (!cpu_feature_enabled(X86_FEATURE_FPU)) in fpregs_set() 371 if (cpu_feature_enabled(X86_FEATURE_FXSR)) in fpregs_set() 380 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in fpregs_set()
|
D | xstate.c | 145 if (!cpu_feature_enabled(X86_FEATURE_XCOMPACTED) || in xfeature_get_offset() 182 if (cpu_feature_enabled(X86_FEATURE_XFD)) in fpu__init_cpu_xstate() 317 if (cpu_feature_enabled(X86_FEATURE_XSAVES)) in os_xrstor_booting() 588 bool compacted = cpu_feature_enabled(X86_FEATURE_XCOMPACTED); in paranoid_xstate_size_valid() 589 bool xsaves = cpu_feature_enabled(X86_FEATURE_XSAVES); in paranoid_xstate_size_valid() 699 bool compacted = cpu_feature_enabled(X86_FEATURE_XCOMPACTED); in init_xstate_size() 823 if (!cpu_feature_enabled(X86_FEATURE_XFD)) in fpu__init_system_xstate() 826 if (!cpu_feature_enabled(X86_FEATURE_XSAVES)) in fpu__init_system_xstate() 854 if (cpu_feature_enabled(X86_FEATURE_XSAVEC) || in fpu__init_system_xstate() 855 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() 397 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) { in fpu_copy_uabi_to_guest_fpstate() 508 if (!cpu_feature_enabled(X86_FEATURE_FPU)) { in fpstate_init_user() 515 if (cpu_feature_enabled(X86_FEATURE_FXSR)) in fpstate_init_user() 569 if (!cpu_feature_enabled(X86_FEATURE_FPU)) in fpu_clone() 714 if (!cpu_feature_enabled(X86_FEATURE_FPU)) { in fpu__clear_user_states()
|
D | xstate.h | 19 if (cpu_feature_enabled(X86_FEATURE_XCOMPACTED)) in xstate_init_xcomp_bv() 65 if (!cpu_feature_enabled(X86_FEATURE_ARCH_LBR)) in xfeatures_mask_independent() 317 if (cpu_feature_enabled(X86_FEATURE_XSAVES)) in os_xrstor_safe()
|
D | init.c | 196 if (!cpu_feature_enabled(X86_FEATURE_FPU)) { in fpu__init_system_xstate_size_legacy() 198 } else if (cpu_feature_enabled(X86_FEATURE_FXSR)) { in fpu__init_system_xstate_size_legacy()
|
/linux-5.19.10/arch/x86/include/asm/fpu/ |
D | sched.h | 41 if (cpu_feature_enabled(X86_FEATURE_FPU) && in switch_fpu_prepare() 64 if (cpu_feature_enabled(X86_FEATURE_FPU)) in switch_fpu_finish()
|
/linux-5.19.10/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 378 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in arch_scale_freq_tick() 412 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in arch_freq_get_on_cpu() 438 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in bp_init_aperfmperf() 449 if (cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in ap_init_aperfmperf()
|
D | common.c | 393 if (!cpu_feature_enabled(X86_FEATURE_UMIP)) in setup_umip() 533 if (pku_disabled || !cpu_feature_enabled(X86_FEATURE_PKU)) in setup_pku() 541 } else if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) { in setup_pku() 577 if (cpu_feature_enabled(X86_FEATURE_IBT)) { in ibt_save() 589 if (cpu_feature_enabled(X86_FEATURE_IBT)) { in ibt_restore() 604 !cpu_feature_enabled(X86_FEATURE_IBT)) in setup_cet() 619 if (cpu_feature_enabled(X86_FEATURE_IBT)) in cet_disable() 1932 if (HAS_KERNEL_IBT && cpu_feature_enabled(X86_FEATURE_IBT)) in identify_boot_cpu() 2247 if (IS_ENABLED(CONFIG_X86_64) || cpu_feature_enabled(X86_FEATURE_VME) || in cpu_init()
|
D | tsx.c | 162 !cpu_feature_enabled(X86_FEATURE_SRBDS_CTRL)) in tsx_dev_mode_disable()
|
/linux-5.19.10/arch/x86/kernel/cpu/sgx/ |
D | driver.c | 153 if (!cpu_feature_enabled(X86_FEATURE_SGX_LC)) in sgx_drv_init() 170 if (cpu_feature_enabled(X86_FEATURE_OSXSAVE)) { in sgx_drv_init()
|
D | virt.c | 308 if (!cpu_feature_enabled(X86_FEATURE_VMX)) in sgx_vepc_init() 410 if (!cpu_feature_enabled(X86_FEATURE_SGX_LC)) { in sgx_virt_einit()
|
/linux-5.19.10/arch/x86/events/amd/ |
D | brs.c | 60 if (!cpu_feature_enabled(X86_FEATURE_BRS)) in amd_brs_detect() 115 if (!cpu_feature_enabled(X86_FEATURE_BRS)) in amd_brs_reset()
|
/linux-5.19.10/arch/x86/mm/ |
D | mem_encrypt.c | 46 if (cpu_feature_enabled(X86_FEATURE_TDX_GUEST)) { in print_mem_encrypt_feature_info()
|
/linux-5.19.10/arch/x86/kernel/cpu/mtrr/ |
D | mtrr.c | 731 if (cpu_feature_enabled(X86_FEATURE_K6_MTRR)) { in mtrr_bp_init() 739 if (cpu_feature_enabled(X86_FEATURE_CENTAUR_MCR)) { in mtrr_bp_init() 746 if (cpu_feature_enabled(X86_FEATURE_CYRIX_ARR)) { in mtrr_bp_init()
|
/linux-5.19.10/arch/x86/kernel/acpi/ |
D | cppc.c | 107 if (!cpu_feature_enabled(X86_FEATURE_APERFMPERF)) in init_freq_invariance_cppc()
|
/linux-5.19.10/arch/x86/kernel/ |
D | static_call.c | 54 if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) in __static_call_transform()
|