Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c115 if (!(svm->nested.ctl.virt_ext & VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK)) in nested_vmcb_needs_vls_intercept()
171 WARN_ON(!(c->virt_ext & VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK)); in recalc_intercepts()
360 to->virt_ext = from->virt_ext; in __nested_copy_vmcb_control_to_cache()
582 if (unlikely(svm->lbrv_enabled && (svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK))) { in nested_vmcb02_prepare_save()
591 } else if (unlikely(vmcb01->control.virt_ext & LBR_CTL_ENABLE_MASK)) { in nested_vmcb02_prepare_save()
702 vmcb02->control.virt_ext = vmcb01->control.virt_ext & in nested_vmcb02_prepare_control()
705 vmcb02->control.virt_ext |= in nested_vmcb02_prepare_control()
706 (svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK); in nested_vmcb02_prepare_control()
709 vmcb02->control.virt_ext |= VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK; in nested_vmcb02_prepare_control()
1005 if (unlikely(svm->lbrv_enabled && (svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK))) { in nested_svm_vmexit()
[all …]
Dsvm.c914 svm->vmcb->control.virt_ext |= LBR_CTL_ENABLE_MASK; in svm_enable_lbrv()
929 svm->vmcb->control.virt_ext &= ~LBR_CTL_ENABLE_MASK; in svm_disable_lbrv()
953 (svm->vmcb->control.virt_ext & LBR_CTL_ENABLE_MASK) ? in svm_get_lbr_msr()
981 bool current_enable_lbrv = !!(svm->vmcb->control.virt_ext & in svm_update_lbrv()
985 if (unlikely(svm->nested.ctl.virt_ext & LBR_CTL_ENABLE_MASK)) in svm_update_lbrv()
1148 svm->vmcb->control.virt_ext &= ~VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK; in init_vmcb_after_set_cpuid()
1162 svm->vmcb->control.virt_ext |= VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK; in init_vmcb_after_set_cpuid()
3014 if (svm->vmcb->control.virt_ext & LBR_CTL_ENABLE_MASK) in svm_set_msr()
3251 pr_err("%-20s%lld\n", "virt_ext:", control->virt_ext); in dump_vmcb()
Dsvm.h152 u64 virt_ext; member
Dsev.c2945 svm->vmcb->control.virt_ext |= LBR_CTL_ENABLE_MASK; in sev_es_init_vmcb()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h92 u64 virt_ext; member
/linux-6.1.9/arch/x86/include/asm/
Dsvm.h147 u64 virt_ext; member