Home
last modified time | relevance | path

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

/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.c506 { X86_FEATURE_XSAVE, 0x0000000d },
/arch/x86/kernel/fpu/
Dregset.c70 if (boot_cpu_has(X86_FEATURE_XSAVE)) in xfpregs_set()
84 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in xstateregs_get()
121 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in xstateregs_set()
354 if (boot_cpu_has(X86_FEATURE_XSAVE)) in fpregs_set()
Dxstate.c216 if (!boot_cpu_has(X86_FEATURE_XSAVE) || !xfeatures_mask) in fpu__init_cpu_xstate()
431 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in setup_init_fpu_buf()
737 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in fpu__init_disable_system_xstate()
759 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in fpu__init_system_xstate()
837 if (boot_cpu_has(X86_FEATURE_XSAVE)) in fpu__resume_cpu()
878 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in get_xsave_addr()
Dinit.c259 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in fpu__init_parse_early_param()
/arch/x86/kvm/
Dcpuid.h97 if (x86_feature == X86_FEATURE_XSAVE && in guest_cpuid_has()
98 !static_cpu_has(X86_FEATURE_XSAVE)) in guest_cpuid_has()
Dcpuid.c77 if (boot_cpu_has(X86_FEATURE_XSAVE) && best->function == 0x1) { in kvm_update_cpuid()
Dx86.c918 if (!cpu_has(c, X86_FEATURE_XSAVE)) in kvm_host_cr4_reserved_bits()
948 if (!guest_cpuid_has(vcpu, X86_FEATURE_XSAVE) && (cr4 & X86_CR4_OSXSAVE)) in kvm_valid_cr4()
3389 r = boot_cpu_has(X86_FEATURE_XSAVE); in kvm_vm_ioctl_check_extension()
4088 if (boot_cpu_has(X86_FEATURE_XSAVE)) { in kvm_vcpu_ioctl_x86_get_xsave()
4109 if (boot_cpu_has(X86_FEATURE_XSAVE)) { in kvm_vcpu_ioctl_x86_set_xsave()
4132 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in kvm_vcpu_ioctl_x86_get_xcrs()
4148 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in kvm_vcpu_ioctl_x86_set_xcrs()
7369 if (boot_cpu_has(X86_FEATURE_XSAVE)) in kvm_arch_init()
/arch/x86/include/asm/
Dcpufeatures.h141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
/arch/x86/kernel/
Dsignal.c410 if (static_cpu_has(X86_FEATURE_XSAVE)) in __setup_rt_frame()
461 if (boot_cpu_has(X86_FEATURE_XSAVE)) in frame_uc_flags()
/arch/x86/include/asm/fpu/
Dinternal.h68 return static_cpu_has(X86_FEATURE_XSAVE); in use_xsave()
/arch/x86/xen/
Denlighten_pv.c284 xsave_mask = (1 << (X86_FEATURE_XSAVE % 32)) | in xen_check_xsave()
316 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in xen_init_capabilities()
/arch/x86/ia32/
Dia32_signal.c362 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
/arch/x86/kvm/vmx/
Dvmx.c1918 !(guest_cpuid_has(vcpu, X86_FEATURE_XSAVE) && in vmx_get_msr()
2160 !(guest_cpuid_has(vcpu, X86_FEATURE_XSAVE) && in vmx_set_msr()
4133 guest_cpuid_has(vcpu, X86_FEATURE_XSAVE) && in vmx_compute_secondary_exec_control()
7061 cr4_fixed1_update(X86_CR4_OSXSAVE, ecx, bit(X86_FEATURE_XSAVE)); in nested_vmx_cr_fixed1_bits_update()