Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/cpu/
H A 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 },
H A Dcommon.c643 { X86_FEATURE_XSAVE, 0x0000000d },
1545 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in cpu_parse_early_param()
/openbmc/linux/arch/x86/kernel/fpu/
H A Dinternal.h10 return cpu_feature_enabled(X86_FEATURE_XSAVE); in use_xsave()
H A 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()
H A Dxstate.c172 if (!boot_cpu_has(X86_FEATURE_XSAVE) || !fpu_kernel_cfg.max_features) in fpu__init_cpu_xstate()
362 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in setup_init_fpu_buf()
724 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in fpu__init_disable_system_xstate()
757 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in fpu__init_system_xstate()
912 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in fpu__resume_cpu()
971 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in get_xsave_addr()
H A 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()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dcr4_cpuid_sync_test.c57 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
H A 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()
H A Dxcr0_cpuid_test.c107 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
H A Dset_sregs_test.c64 if (kvm_cpu_has(X86_FEATURE_XSAVE)) in calc_supported_cr4_feature_bits()
H A Dstate_test.c143 if (this_cpu_has(X86_FEATURE_XSAVE)) { in guest_code()
/openbmc/linux/arch/x86/hyperv/
H A Dhv_vtl.c242 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in hv_vtl_early_init()
/openbmc/linux/tools/arch/x86/include/asm/
H A Dcpufeatures.h141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
/openbmc/linux/arch/x86/include/asm/
H A Dcpufeatures.h141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
/openbmc/linux/arch/x86/kvm/
H A Dx86.h514 if (!__cpu_has(__c, X86_FEATURE_XSAVE)) \
H A Dcpuid.c273 if (boot_cpu_has(X86_FEATURE_XSAVE)) in __kvm_update_cpuid_runtime()
H A Dx86.c4592 r = boot_cpu_has(X86_FEATURE_XSAVE); in kvm_vm_ioctl_check_extension()
5439 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in kvm_vcpu_ioctl_x86_get_xcrs()
5455 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in kvm_vcpu_ioctl_x86_set_xcrs()
9523 if (boot_cpu_has(X86_FEATURE_XSAVE)) { in __kvm_x86_vendor_init()
/openbmc/linux/arch/x86/xen/
H A 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()
/openbmc/linux/arch/x86/kernel/
H A Dsignal_32.c332 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
H A Dsignal_64.c153 if (boot_cpu_has(X86_FEATURE_XSAVE)) in frame_uc_flags()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h132 #define X86_FEATURE_XSAVE KVM_X86_CPU_FEATURE(0x1, 0, ECX, 26) macro
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm.c4361 if (boot_cpu_has(X86_FEATURE_XSAVE) && in svm_vcpu_after_set_cpuid()
4363 guest_cpuid_has(vcpu, X86_FEATURE_XSAVE)) in svm_vcpu_after_set_cpuid()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c7780 if (boot_cpu_has(X86_FEATURE_XSAVE) && in vmx_vcpu_after_set_cpuid()
7781 guest_cpuid_has(vcpu, X86_FEATURE_XSAVE)) in vmx_vcpu_after_set_cpuid()