/linux-6.6.21/arch/x86/kernel/cpu/ |
D | cpuid-deps.c | 24 { X86_FEATURE_XSAVEOPT, X86_FEATURE_XSAVE }, 25 { X86_FEATURE_XSAVEC, X86_FEATURE_XSAVE }, 26 { X86_FEATURE_XSAVES, X86_FEATURE_XSAVE }, 27 { X86_FEATURE_AVX, X86_FEATURE_XSAVE }, 28 { X86_FEATURE_PKU, X86_FEATURE_XSAVE }, 29 { X86_FEATURE_MPX, X86_FEATURE_XSAVE }, 30 { X86_FEATURE_XGETBV1, X86_FEATURE_XSAVE }, 35 { X86_FEATURE_XSAVE, X86_FEATURE_FXSR },
|
D | common.c | 643 { X86_FEATURE_XSAVE, 0x0000000d }, 1502 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in cpu_parse_early_param()
|
/linux-6.6.21/arch/x86/kernel/fpu/ |
D | internal.h | 10 return cpu_feature_enabled(X86_FEATURE_XSAVE); in use_xsave()
|
D | regset.c | 133 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_get() 150 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_set() 461 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in fpregs_set()
|
D | xstate.c | 172 if (!boot_cpu_has(X86_FEATURE_XSAVE) || !fpu_kernel_cfg.max_features) in fpu__init_cpu_xstate() 361 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in setup_init_fpu_buf() 723 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in fpu__init_disable_system_xstate() 756 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in fpu__init_system_xstate() 908 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in fpu__resume_cpu() 967 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in get_xsave_addr()
|
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()
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | cr4_cpuid_sync_test.c | 57 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
|
D | amx_test.c | 131 GUEST_ASSERT(this_cpu_has(X86_FEATURE_XSAVE)); in init_regs() 233 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
|
D | xcr0_cpuid_test.c | 107 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
|
D | set_sregs_test.c | 64 if (kvm_cpu_has(X86_FEATURE_XSAVE)) in calc_supported_cr4_feature_bits()
|
D | state_test.c | 143 if (this_cpu_has(X86_FEATURE_XSAVE)) { in guest_code()
|
/linux-6.6.21/arch/x86/hyperv/ |
D | hv_vtl.c | 224 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in hv_vtl_early_init()
|
/linux-6.6.21/tools/arch/x86/include/asm/ |
D | cpufeatures.h | 141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
|
/linux-6.6.21/arch/x86/include/asm/ |
D | cpufeatures.h | 141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.h | 514 if (!__cpu_has(__c, X86_FEATURE_XSAVE)) \
|
D | cpuid.c | 273 if (boot_cpu_has(X86_FEATURE_XSAVE)) in __kvm_update_cpuid_runtime()
|
D | x86.c | 4589 r = boot_cpu_has(X86_FEATURE_XSAVE); in kvm_vm_ioctl_check_extension() 5436 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in kvm_vcpu_ioctl_x86_get_xcrs() 5452 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in kvm_vcpu_ioctl_x86_set_xcrs() 9508 if (boot_cpu_has(X86_FEATURE_XSAVE)) { in __kvm_x86_vendor_init()
|
/linux-6.6.21/arch/x86/xen/ |
D | enlighten_pv.c | 328 xsave_mask = (1 << (X86_FEATURE_XSAVE % 32)) | in xen_check_xsave() 361 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in xen_init_capabilities()
|
/linux-6.6.21/arch/x86/kernel/ |
D | signal_32.c | 332 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
|
D | signal_64.c | 153 if (boot_cpu_has(X86_FEATURE_XSAVE)) in frame_uc_flags()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 132 #define X86_FEATURE_XSAVE KVM_X86_CPU_FEATURE(0x1, 0, ECX, 26) macro
|
/linux-6.6.21/arch/x86/kvm/svm/ |
D | svm.c | 4331 if (boot_cpu_has(X86_FEATURE_XSAVE) && in svm_vcpu_after_set_cpuid() 4333 guest_cpuid_has(vcpu, X86_FEATURE_XSAVE)) in svm_vcpu_after_set_cpuid()
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | vmx.c | 7773 if (boot_cpu_has(X86_FEATURE_XSAVE) && in vmx_vcpu_after_set_cpuid() 7774 guest_cpuid_has(vcpu, X86_FEATURE_XSAVE)) in vmx_vcpu_after_set_cpuid()
|