Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kvm/
Dcpuid.c173 (best->eax | ((u64)best->edx << 32)) & supported_xcr0; in kvm_vcpu_after_set_cpuid()
771 entry->eax &= supported_xcr0; in __do_cpuid_func()
772 entry->ebx = xstate_required_size(supported_xcr0, false); in __do_cpuid_func()
774 entry->edx &= supported_xcr0 >> 32; in __do_cpuid_func()
775 if (!supported_xcr0) in __do_cpuid_func()
784 entry->ebx = xstate_required_size(supported_xcr0 | supported_xss, in __do_cpuid_func()
795 if (supported_xcr0 & BIT_ULL(i)) in __do_cpuid_func()
Dx86.h330 extern u64 supported_xcr0;
336 return (supported_xcr0 & (XFEATURE_MASK_BNDREGS | XFEATURE_MASK_BNDCSR)) in kvm_mpx_supported()
Dx86.c293 u64 __read_mostly supported_xcr0; variable
294 EXPORT_SYMBOL_GPL(supported_xcr0);
4830 if (xstate_bv & ~supported_xcr0 || mxcsr & ~mxcsr_feature_mask) in kvm_vcpu_ioctl_x86_set_xsave()
8468 supported_xcr0 = host_xcr0 & KVM_SUPPORTED_XCR0; in kvm_arch_init()
/Linux-v5.15/arch/x86/kvm/svm/
Dsvm.c974 supported_xcr0 &= ~(XFEATURE_MASK_BNDREGS | XFEATURE_MASK_BNDCSR); in svm_hardware_setup()
/Linux-v5.15/arch/x86/kvm/vmx/
Dvmx.c7753 supported_xcr0 &= ~(XFEATURE_MASK_BNDREGS | in hardware_setup()