Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86/
H A Dnested_vmsave_vmload_test.c83 svm->vmcb->control.misc_ctl2 &= ~SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE; in l1_guest_code()
94 svm->vmcb->control.misc_ctl2 |= SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE; in l1_guest_code()
113 svm->vmcb->control.misc_ctl2 &= ~SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE; in l1_guest_code()
122 svm->vmcb->control.misc_ctl2 |= SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE; in l1_guest_code()
H A Dsvm_lbr_nested_state.c72 vmcb->control.misc_ctl2 = SVM_MISC2_ENABLE_V_LBR; in l1_guest_code()
74 vmcb->control.misc_ctl2 &= ~SVM_MISC2_ENABLE_V_LBR; in l1_guest_code()
/linux/arch/x86/kvm/svm/
H A Dnested.c119 if (!(svm->nested.ctl.misc_ctl2 & SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE)) in nested_vmcb_needs_vls_intercept()
182 WARN_ON_ONCE(!(vmcb02->control.misc_ctl2 & SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE)); in nested_vmcb02_recalc_intercepts()
523 to->misc_ctl2 = from->misc_ctl2; in __nested_copy_vmcb_control_to_cache()
716 (to_svm(vcpu)->nested.ctl.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR); in nested_vmcb12_has_lbrv()
956 vmcb02->control.misc_ctl2 |= SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE; in nested_vmcb02_prepare_control()
1814 dst->misc_ctl2 = from->misc_ctl2; in nested_copy_vmcb_cache_to_control()
H A Dsvm.c727 bool intercept = !(svm->vmcb->control.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR); in svm_recalc_lbr_msr_intercepts()
860 to_svm(vcpu)->vmcb->control.misc_ctl2 |= SVM_MISC2_ENABLE_V_LBR; in __svm_enable_lbrv()
872 to_svm(vcpu)->vmcb->control.misc_ctl2 &= ~SVM_MISC2_ENABLE_V_LBR; in __svm_disable_lbrv()
878 bool current_enable_lbrv = svm->vmcb->control.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR; in svm_update_lbrv()
881 (svm->nested.ctl.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR)); in svm_update_lbrv()
1251 svm->vmcb->control.misc_ctl2 |= SVM_MISC2_ENABLE_V_VMLOAD_VMSAVE; in init_vmcb()
3417 pr_err("%-20s%lld\n", "misc_ctl2:", control->misc_ctl2); in dump_vmcb()
4496 if (!(svm->vmcb->control.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR) && in svm_vcpu_run()
4527 if (!(svm->vmcb->control.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR) && in svm_vcpu_run()
H A Dsvm.h198 u64 misc_ctl2; member
/linux/drivers/phy/tegra/
H A Dxusb-tegra210.c2501 value = padctl_readl(padctl, lane->soc->regs.misc_ctl2); in tegra210_uphy_lane_iddq_enable()
2512 padctl_writel(padctl, value, lane->soc->regs.misc_ctl2); in tegra210_uphy_lane_iddq_enable()
2520 value = padctl_readl(padctl, lane->soc->regs.misc_ctl2); in tegra210_uphy_lane_iddq_disable()
2531 padctl_writel(padctl, value, lane->soc->regs.misc_ctl2); in tegra210_uphy_lane_iddq_disable()
2542 .regs.misc_ctl2 = _misc, \