Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/include/asm/fpu/
Dxcr.h5 #define XCR_XFEATURE_ENABLED_MASK 0x00000000 macro
/linux-6.1.9/arch/x86/kernel/
Dsev-shared.c433 xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in snp_cpuid_postprocess()
885 ghcb_set_xcr0(ghcb, xgetbv(XCR_XFEATURE_ENABLED_MASK)); in vc_handle_cpuid()
/linux-6.1.9/arch/x86/kernel/fpu/
Dxstate.c190 xsetbv(XCR_XFEATURE_ENABLED_MASK, fpu_user_cfg.max_features); in fpu__init_cpu_xstate()
906 xsetbv(XCR_XFEATURE_ENABLED_MASK, fpu_user_cfg.max_features); in fpu__resume_cpu()
/linux-6.1.9/arch/x86/kvm/
Dx86.c993 xsetbv(XCR_XFEATURE_ENABLED_MASK, vcpu->arch.xcr0); in kvm_load_guest_xsave_state()
1028 xsetbv(XCR_XFEATURE_ENABLED_MASK, host_xcr0); in kvm_load_host_xsave_state()
1052 if (index != XCR_XFEATURE_ENABLED_MASK) in __kvm_set_xcr()
5316 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
5333 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
5334 r = __kvm_set_xcr(vcpu, XCR_XFEATURE_ENABLED_MASK, in kvm_vcpu_ioctl_x86_set_xcrs()
9402 host_xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in kvm_arch_init()
/linux-6.1.9/arch/x86/kvm/svm/
Dsev.c3023 hostsa->xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in sev_es_prepare_switch_to_guest()