Home
last modified time | relevance | path

Searched refs:XCR_XFEATURE_ENABLED_MASK (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/include/asm/fpu/
H A Dxcr.h5 #define XCR_XFEATURE_ENABLED_MASK 0x00000000 macro
/linux/arch/x86/coco/sev/
H A Dshared.c441 ghcb_set_xcr0(ghcb, xgetbv(XCR_XFEATURE_ENABLED_MASK)); in __sev_cpuid_hv_ghcb()
619 xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in snp_cpuid_postprocess()
1113 ghcb_set_xcr0(ghcb, xgetbv(XCR_XFEATURE_ENABLED_MASK)); in vc_handle_cpuid()
/linux/arch/x86/kernel/fpu/
H A Dxstate.c195 xsetbv(XCR_XFEATURE_ENABLED_MASK, fpu_user_cfg.max_features); in fpu__init_cpu_xstate()
916 xsetbv(XCR_XFEATURE_ENABLED_MASK, fpu_user_cfg.max_features); in fpu__resume_cpu()
/linux/arch/x86/kvm/
H A Dx86.c1211 xsetbv(XCR_XFEATURE_ENABLED_MASK, vcpu->arch.xcr0); in kvm_load_guest_xsave_state()
1242 xsetbv(XCR_XFEATURE_ENABLED_MASK, kvm_host.xcr0); in kvm_load_host_xsave_state()
1266 if (index != XCR_XFEATURE_ENABLED_MASK) in __kvm_set_xcr()
5649 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
5671 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
5672 r = __kvm_set_xcr(vcpu, XCR_XFEATURE_ENABLED_MASK, in kvm_vcpu_ioctl_x86_set_xcrs()
9741 kvm_host.xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in kvm_x86_vendor_init()