Searched refs:xcr0 (Results 1 – 3 of 3) sorted by relevance
57 u64 xcr0 = KVM_SUPPORTED_XCR0 & host_xcr0; in kvm_supported_xcr0() local60 xcr0 &= ~(XFEATURE_MASK_BNDREGS | XFEATURE_MASK_BNDCSR); in kvm_supported_xcr0()62 return xcr0; in kvm_supported_xcr0()99 xstate_required_size(vcpu->arch.xcr0, false); in kvm_update_cpuid()104 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in kvm_update_cpuid()
669 xsetbv(XCR_XFEATURE_ENABLED_MASK, vcpu->arch.xcr0); in kvm_load_guest_xcr0()677 if (vcpu->arch.xcr0 != host_xcr0) in kvm_put_guest_xcr0()685 u64 xcr0 = xcr; in __kvm_set_xcr() local686 u64 old_xcr0 = vcpu->arch.xcr0; in __kvm_set_xcr()692 if (!(xcr0 & XFEATURE_MASK_FP)) in __kvm_set_xcr()694 if ((xcr0 & XFEATURE_MASK_YMM) && !(xcr0 & XFEATURE_MASK_SSE)) in __kvm_set_xcr()703 if (xcr0 & ~valid_bits) in __kvm_set_xcr()706 if ((!(xcr0 & XFEATURE_MASK_BNDREGS)) != in __kvm_set_xcr()707 (!(xcr0 & XFEATURE_MASK_BNDCSR))) in __kvm_set_xcr()710 if (xcr0 & XFEATURE_MASK_AVX512) { in __kvm_set_xcr()[all …]
443 u64 xcr0; member