/openbmc/linux/arch/x86/kernel/cpu/ |
H A 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 },
|
H A D | common.c | 643 { 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 D | internal.h | 10 return cpu_feature_enabled(X86_FEATURE_XSAVE); in use_xsave()
|
H A 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()
|
H A D | xstate.c | 172 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 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()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | cr4_cpuid_sync_test.c | 57 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
|
H A 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()
|
H A D | xcr0_cpuid_test.c | 107 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_XSAVE)); in main()
|
H A D | set_sregs_test.c | 64 if (kvm_cpu_has(X86_FEATURE_XSAVE)) in calc_supported_cr4_feature_bits()
|
H A D | state_test.c | 143 if (this_cpu_has(X86_FEATURE_XSAVE)) { in guest_code()
|
/openbmc/linux/arch/x86/hyperv/ |
H A D | hv_vtl.c | 242 if (cpu_feature_enabled(X86_FEATURE_XSAVE)) in hv_vtl_early_init()
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | cpufeatures.h | 141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cpufeatures.h | 141 #define X86_FEATURE_XSAVE ( 4*32+26) /* XSAVE/XRSTOR/XSETBV/XGETBV instructions */ macro
|
/openbmc/linux/arch/x86/kvm/ |
H A D | x86.h | 514 if (!__cpu_has(__c, X86_FEATURE_XSAVE)) \
|
H A D | cpuid.c | 273 if (boot_cpu_has(X86_FEATURE_XSAVE)) in __kvm_update_cpuid_runtime()
|
H A D | x86.c | 4592 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 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()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | signal_32.c | 332 if (static_cpu_has(X86_FEATURE_XSAVE)) in ia32_setup_rt_frame()
|
H A D | signal_64.c | 153 if (boot_cpu_has(X86_FEATURE_XSAVE)) in frame_uc_flags()
|
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 132 #define X86_FEATURE_XSAVE KVM_X86_CPU_FEATURE(0x1, 0, ECX, 26) macro
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 4361 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 D | vmx.c | 7780 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()
|