Home
last modified time | relevance | path

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

/linux-6.1.9/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.c637 { X86_FEATURE_XSAVE, 0x0000000d },
1444 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in cpu_parse_early_param()
/linux-6.1.9/arch/x86/kernel/fpu/
Dinternal.h10 return cpu_feature_enabled(X86_FEATURE_XSAVE); in use_xsave()
Dregset.c132 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_get()
149 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) in xstateregs_set()
380 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in fpregs_set()
Dxstate.c171 if (!boot_cpu_has(X86_FEATURE_XSAVE) || !fpu_kernel_cfg.max_features) in fpu__init_cpu_xstate()
358 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in setup_init_fpu_buf()
727 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in fpu__init_disable_system_xstate()
760 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in fpu__init_system_xstate()
905 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in fpu__resume_cpu()
964 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()
395 if (!cpu_feature_enabled(X86_FEATURE_XSAVE)) { in fpu_copy_uabi_to_guest_fpstate()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dcr4_cpuid_sync_test.c58 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
Damx_test.c123 GUEST_ASSERT(this_cpu_has(X86_FEATURE_XSAVE)); in check_cpuid_xsave()
315 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
Dset_sregs_test.c65 if (kvm_cpu_has(X86_FEATURE_XSAVE)) in calc_supported_cr4_feature_bits()
/linux-6.1.9/tools/arch/x86/include/asm/
Dcpufeatures.h141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
/linux-6.1.9/arch/x86/include/asm/
Dcpufeatures.h141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
/linux-6.1.9/arch/x86/kernel/
Dsignal.c399 if (static_cpu_has(X86_FEATURE_XSAVE)) in __setup_rt_frame()
450 if (boot_cpu_has(X86_FEATURE_XSAVE)) in frame_uc_flags()
/linux-6.1.9/arch/x86/kvm/
Dx86.h459 if (!__cpu_has(__c, X86_FEATURE_XSAVE)) \
Dcpuid.c257 if (boot_cpu_has(X86_FEATURE_XSAVE)) in __kvm_update_cpuid_runtime()
Dx86.c4470 r = boot_cpu_has(X86_FEATURE_XSAVE); in kvm_vm_ioctl_check_extension()
5309 if (!boot_cpu_has(X86_FEATURE_XSAVE)) { in kvm_vcpu_ioctl_x86_get_xcrs()
5325 if (!boot_cpu_has(X86_FEATURE_XSAVE)) in kvm_vcpu_ioctl_x86_set_xcrs()
9401 if (boot_cpu_has(X86_FEATURE_XSAVE)) { in kvm_arch_init()
/linux-6.1.9/arch/x86/ia32/
Dia32_signal.c329 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
/linux-6.1.9/arch/x86/xen/
Denlighten_pv.c263 xsave_mask = (1 << (X86_FEATURE_XSAVE % 32)) | in xen_check_xsave()
295 setup_clear_cpu_cap(X86_FEATURE_XSAVE); in xen_init_capabilities()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h89 #define X86_FEATURE_XSAVE KVM_X86_CPU_FEATURE(0x1, 0, ECX, 26) macro
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c4121 vcpu->arch.xsaves_enabled = guest_cpuid_has(vcpu, X86_FEATURE_XSAVE) && in svm_vcpu_after_set_cpuid()
4122 boot_cpu_has(X86_FEATURE_XSAVE) && in svm_vcpu_after_set_cpuid()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c4509 boot_cpu_has(X86_FEATURE_XSAVE) && in vmx_secondary_exec_control()
4510 guest_cpuid_has(vcpu, X86_FEATURE_XSAVE) && in vmx_secondary_exec_control()