Home
last modified time | relevance | path

Searched refs:XSAVE (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/arch/x86/kernel/fpu/
H A Dxstate.h72 /* XSAVE/XRSTOR wrapper functions */
81 #define XSAVE ".byte " REX_PREFIX "0x0f,0xae,0x27" macro
108 * Otherwise, if XSAVEOPT is enabled, XSAVEOPT replaces XSAVE because XSAVEOPT
109 * supports modified optimization which is not supported by XSAVE.
111 * We use XSAVE as a fallback.
118 asm volatile(ALTERNATIVE_3(XSAVE, \
132 * XSAVE area format.
175 * Uses either XSAVE or XSAVEOPT or XSAVES depending on the CPU features
219 * XSAVE itself always writes all requested xfeatures. Removing features
254 * The caller has to zero buf::header before calling this because XSAVE*
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
H A Dinternal.h217 #define XSAVE ".byte " REX_PREFIX "0x0f,0xae,0x27" macro
245 * Otherwise, if XSAVEOPT is enabled, XSAVEOPT replaces XSAVE because XSAVEOPT
246 * supports modified optimization which is not supported by XSAVE.
248 * We use XSAVE as a fallback.
255 asm volatile(ALTERNATIVE_2(XSAVE, \
272 * XSAVE area format.
364 XSTATE_OP(XSAVE, buf, lmask, hmask, err); in copy_xregs_to_user()
/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dcpuid.c375 0 /* Reserved*/ | F(AES) | F(XSAVE) | 0 /* OSXSAVE */ | F(AVX) | in kvm_set_cpu_caps()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dcpuid.c155 * enabling in the FPU, e.g. to expand the guest XSAVE state size. in kvm_check_cpuid()
606 0 /* Reserved*/ | F(AES) | F(XSAVE) | 0 /* OSXSAVE */ | F(AVX) | in kvm_set_cpu_caps()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dvmx.c4367 /* Exposing XSAVES only when XSAVE is exposed */ in vmx_compute_secondary_exec_control()
7305 cr4_fixed1_update(X86_CR4_OSXSAVE, ecx, feature_bit(XSAVE)); in nested_vmx_cr_fixed1_bits_update()
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dvmx.c7682 cr4_fixed1_update(X86_CR4_OSXSAVE, ecx, feature_bit(XSAVE)); in nested_vmx_cr_fixed1_bits_update()
7769 * XSAVES is effectively enabled if and only if XSAVE is also exposed in vmx_vcpu_after_set_cpuid()
7771 * set if and only if XSAVE is supported. in vmx_vcpu_after_set_cpuid()

Completed in 23 milliseconds