Home
last modified time | relevance | path

Searched refs:X86_FEATURE_XSAVE (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/arch/x86/kernel/cpu/
Dcpuid-deps.c24 { 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 },
Dcommon.c643 { 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/
Dinternal.h10 return cpu_feature_enabled(X86_FEATURE_XSAVE); in use_xsave()
Dregset.c133 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()
Dxstate.c172 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()
Dcore.c378 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/
Dcr4_cpuid_sync_test.c57 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
Damx_test.c131 GUEST_ASSERT(this_cpu_has(X86_FEATURE_XSAVE)); in init_regs()
233 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
Dxcr0_cpuid_test.c107 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
Dset_sregs_test.c64 if (kvm_cpu_has(X86_FEATURE_XSAVE)) in calc_supported_cr4_feature_bits()
Dstate_test.c143 if (this_cpu_has(X86_FEATURE_XSAVE)) { in guest_code()
/linux-6.6.21/arch/x86/hyperv/
Dhv_vtl.c224 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in hv_vtl_early_init()
/linux-6.6.21/tools/arch/x86/include/asm/
Dcpufeatures.h141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
/linux-6.6.21/arch/x86/include/asm/
Dcpufeatures.h141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
/linux-6.6.21/arch/x86/kvm/
Dx86.h514 if (!__cpu_has(__c, X86_FEATURE_XSAVE)) \
Dcpuid.c273 if (boot_cpu_has(X86_FEATURE_XSAVE)) in __kvm_update_cpuid_runtime()
Dx86.c4589 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/
Denlighten_pv.c328 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/
Dsignal_32.c332 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
Dsignal_64.c153 if (boot_cpu_has(X86_FEATURE_XSAVE)) in frame_uc_flags()
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h132 #define X86_FEATURE_XSAVE KVM_X86_CPU_FEATURE(0x1, 0, ECX, 26) macro
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c4331 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/
Dvmx.c7773 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()