Home
last modified time | relevance | path

Searched refs:XFEATURE_MASK_FP (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/arch/x86/include/asm/fpu/
H A Dtypes.h132 #define XFEATURE_MASK_FP (1 << XFEATURE_FP) macro
149 #define XFEATURE_MASK_FPSSE (XFEATURE_MASK_FP | XFEATURE_MASK_SSE)
H A Dxstate.h26 #define XFEATURE_MASK_USER_SUPPORTED (XFEATURE_MASK_FP | \
/linux-6.15/arch/x86/kernel/fpu/
H A Dxstate.c332 (XFEATURE_MASK_FP | \
1085 header.xfeatures &= XFEATURE_MASK_FP; in __copy_xstate_to_uabi_buf()
1089 header.xfeatures &= XFEATURE_MASK_FP | XFEATURE_MASK_SSE; in __copy_xstate_to_uabi_buf()
1098 copy_feature(header.xfeatures & XFEATURE_MASK_FP, &to, &xsave->i387, in __copy_xstate_to_uabi_buf()
1107 copy_feature(header.xfeatures & XFEATURE_MASK_FP, in __copy_xstate_to_uabi_buf()
1257 mask = XFEATURE_MASK_FP | XFEATURE_MASK_SSE | XFEATURE_MASK_YMM; in copy_uabi_to_xstate()
1270 if (!(hdr.xfeatures & XFEATURE_MASK_FP)) { in copy_uabi_to_xstate()
H A Dinit.c200 fpu_user_cfg.legacy_features = XFEATURE_MASK_FP; in fpu__init_system_xstate_size_legacy()
H A Dregset.c463 fpu->fpstate->regs.xsave.header.xfeatures |= XFEATURE_MASK_FP; in fpregs_set()
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dxcr0_cpuid_test.c82 vector = xsetbv_safe(0, XFEATURE_MASK_FP); in guest_code()
H A Dsev_smoke_test.c17 #define XFEATURE_MASK_X87_AVX (XFEATURE_MASK_FP | XFEATURE_MASK_SSE | XFEATURE_MASK_YMM)
H A Dstate_test.c155 GUEST_ASSERT(supported_xcr0 & XFEATURE_MASK_FP); in guest_code()
/linux-6.15/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h73 #define XFEATURE_MASK_FP BIT_ULL(0) macro
/linux-6.15/arch/x86/kvm/
H A Dx86.c219 #define KVM_SUPPORTED_XCR0 (XFEATURE_MASK_FP | XFEATURE_MASK_SSE \
1230 if (!(xcr0 & XFEATURE_MASK_FP)) in __kvm_set_xcr()
1240 valid_bits = vcpu->arch.guest_supported_xcr0 | XFEATURE_MASK_FP; in __kvm_set_xcr()
12500 __kvm_set_xcr(vcpu, 0, XFEATURE_MASK_FP); in kvm_vcpu_reset()