Home
last modified time | relevance | path

Searched refs:virt_ext (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/arch/x86/kvm/svm/
Dnested.c137 if (!(svm->nested.ctl.virt_ext & VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK)) in nested_vmcb_needs_vls_intercept()
193 WARN_ON(!(c->virt_ext & VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK)); in recalc_intercepts()
376 to->virt_ext = from->virt_ext; in __nested_copy_vmcb_control_to_cache()
598 if (unlikely(svm->lbrv_enabled && (svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK))) { in nested_vmcb02_prepare_save()
607 } else if (unlikely(vmcb01->control.virt_ext & LBR_CTL_ENABLE_MASK)) { in nested_vmcb02_prepare_save()
668 vmcb02->control.virt_ext = vmcb01->control.virt_ext & in nested_vmcb02_prepare_control()
671 vmcb02->control.virt_ext |= in nested_vmcb02_prepare_control()
672 (svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK); in nested_vmcb02_prepare_control()
675 vmcb02->control.virt_ext |= VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK; in nested_vmcb02_prepare_control()
965 if (unlikely(svm->lbrv_enabled && (svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK))) { in nested_svm_vmexit()
[all …]
Dsvm.c826 svm->vmcb->control.virt_ext |= LBR_CTL_ENABLE_MASK; in svm_enable_lbrv()
841 svm->vmcb->control.virt_ext &= ~LBR_CTL_ENABLE_MASK; in svm_disable_lbrv()
865 (svm->vmcb->control.virt_ext & LBR_CTL_ENABLE_MASK) ? in svm_get_lbr_msr()
893 bool current_enable_lbrv = !!(svm->vmcb->control.virt_ext & in svm_update_lbrv()
897 if (unlikely(svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK)) in svm_update_lbrv()
1060 svm->vmcb->control.virt_ext &= ~VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK; in init_vmcb_after_set_cpuid()
1074 svm->vmcb->control.virt_ext |= VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK; in init_vmcb_after_set_cpuid()
2921 if (svm->vmcb->control.virt_ext & LBR_CTL_ENABLE_MASK) in svm_set_msr()
3158 pr_err("%-20s%lld\n", "virt_ext:", control->virt_ext); in dump_vmcb()
Dsvm.h143 u64 virt_ext; member
Dsev.c2945 svm->vmcb->control.virt_ext |= LBR_CTL_ENABLE_MASK; in sev_es_init_vmcb()
/linux-5.19.10/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h92 u64 virt_ext; member
/linux-5.19.10/arch/x86/include/asm/
Dsvm.h147 u64 virt_ext; member