aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-14 19:08:35 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-14 19:08:35 -0500
commitd3d0b8dfe06098d6d584266c35e9a0947f5b7132 (patch)
tree2c38950a3489a5c0e6ac98a711cf1f5384c5b7f5 /drivers/gpu/drm/i915/display/intel_dp_mst.c
parentx86/sev: Fix broken SNP support with KVM module built-in (diff)
parentKVM: x86: Load DR6 with guest value only before entering .vcpu_run() loop (diff)
downloadwireguard-linux-d3d0b8dfe06098d6d584266c35e9a0947f5b7132.tar.xz
wireguard-linux-d3d0b8dfe06098d6d584266c35e9a0947f5b7132.zip
Merge tag 'kvm-x86-fixes-6.14-rcN' of https://github.com/kvm-x86/linux into HEAD
KVM fixes for 6.14 part 1 - Reject Hyper-V SEND_IPI hypercalls if the local APIC isn't being emulated by KVM to fix a NULL pointer dereference. - Enter guest mode (L2) from KVM's perspective before initializing the vCPU's nested NPT MMU so that the MMU is properly tagged for L2, not L1. - Load the guest's DR6 outside of the innermost .vcpu_run() loop, as the guest's value may be stale if a VM-Exit is handled in the fastpath.
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_dp_mst.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c
index 0c44fc7dd86c..a65cf97ad12d 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c
@@ -341,6 +341,10 @@ int intel_dp_mtp_tu_compute_config(struct intel_dp *intel_dp,
break;
}
+
+ /* Allow using zero step to indicate one try */
+ if (!step)
+ break;
}
if (slots < 0) {