+++ /dev/null
-From 7dd8799f87b954a13c90bb3addc31b8cee566913 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 13 Sep 2021 17:09:50 +0300
-Subject: KVM: x86: reset pdptrs_from_userspace when exiting smm
-
-From: Maxim Levitsky <mlevitsk@redhat.com>
-
-[ Upstream commit 37687c403a641f251cb2ef2e7830b88aa0647ba9 ]
-
-When exiting SMM, pdpts are loaded again from the guest memory.
-
-This fixes a theoretical bug, when exit from SMM triggers entry to the
-nested guest which re-uses some of the migration
-code which uses this flag as a workaround for a legacy userspace.
-
-Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
-Message-Id: <20210913140954.165665-4-mlevitsk@redhat.com>
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/x86/kvm/x86.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
-index 0690155f42b2..fb65f98ea5ac 100644
---- a/arch/x86/kvm/x86.c
-+++ b/arch/x86/kvm/x86.c
-@@ -5809,6 +5809,13 @@ static void kvm_smm_changed(struct kvm_vcpu *vcpu)
-
- /* Process a latched INIT or SMI, if any. */
- kvm_make_request(KVM_REQ_EVENT, vcpu);
-+
-+ /*
-+ * Even if KVM_SET_SREGS2 loaded PDPTRs out of band,
-+ * on SMM exit we still need to reload them from
-+ * guest memory
-+ */
-+ vcpu->arch.pdptrs_from_userspace = false;
- }
-
- kvm_mmu_reset_context(vcpu);
---
-2.33.0
-
usb-dwc2-check-return-value-after-calling-platform_g.patch
scsi-ses-retry-failed-send-receive-diagnostic-comman.patch
kvm-do-not-shrink-halt_poll_ns-below-grow_start.patch
-kvm-x86-reset-pdptrs_from_userspace-when-exiting-smm.patch
+++ /dev/null
-From f7e0fec9141a7ddee4befbef59252aa8f1269971 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 13 Sep 2021 17:09:50 +0300
-Subject: KVM: x86: reset pdptrs_from_userspace when exiting smm
-
-From: Maxim Levitsky <mlevitsk@redhat.com>
-
-[ Upstream commit 37687c403a641f251cb2ef2e7830b88aa0647ba9 ]
-
-When exiting SMM, pdpts are loaded again from the guest memory.
-
-This fixes a theoretical bug, when exit from SMM triggers entry to the
-nested guest which re-uses some of the migration
-code which uses this flag as a workaround for a legacy userspace.
-
-Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
-Message-Id: <20210913140954.165665-4-mlevitsk@redhat.com>
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/x86/kvm/x86.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
-index 417abc9ba1ad..8ea5260ac1f7 100644
---- a/arch/x86/kvm/x86.c
-+++ b/arch/x86/kvm/x86.c
-@@ -6184,6 +6184,13 @@ static void kvm_smm_changed(struct kvm_vcpu *vcpu)
-
- /* Process a latched INIT or SMI, if any. */
- kvm_make_request(KVM_REQ_EVENT, vcpu);
-+
-+ /*
-+ * Even if KVM_SET_SREGS2 loaded PDPTRs out of band,
-+ * on SMM exit we still need to reload them from
-+ * guest memory
-+ */
-+ vcpu->arch.pdptrs_from_userspace = false;
- }
-
- kvm_mmu_reset_context(vcpu);
---
-2.33.0
-
scsi-ses-retry-failed-send-receive-diagnostic-comman.patch
tools-vm-page-types-remove-dependency-on-opt_file-fo.patch
kvm-do-not-shrink-halt_poll_ns-below-grow_start.patch
-kvm-x86-reset-pdptrs_from_userspace-when-exiting-smm.patch
+++ /dev/null
-From 9428b22b910d06cd002694669382d32fc4a24ba5 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 13 Sep 2021 17:09:50 +0300
-Subject: KVM: x86: reset pdptrs_from_userspace when exiting smm
-
-From: Maxim Levitsky <mlevitsk@redhat.com>
-
-[ Upstream commit 37687c403a641f251cb2ef2e7830b88aa0647ba9 ]
-
-When exiting SMM, pdpts are loaded again from the guest memory.
-
-This fixes a theoretical bug, when exit from SMM triggers entry to the
-nested guest which re-uses some of the migration
-code which uses this flag as a workaround for a legacy userspace.
-
-Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
-Message-Id: <20210913140954.165665-4-mlevitsk@redhat.com>
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/x86/kvm/x86.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
-index c0f7e746722d..821fd7e73708 100644
---- a/arch/x86/kvm/x86.c
-+++ b/arch/x86/kvm/x86.c
-@@ -5695,6 +5695,13 @@ static void kvm_smm_changed(struct kvm_vcpu *vcpu)
-
- /* Process a latched INIT or SMI, if any. */
- kvm_make_request(KVM_REQ_EVENT, vcpu);
-+
-+ /*
-+ * Even if KVM_SET_SREGS2 loaded PDPTRs out of band,
-+ * on SMM exit we still need to reload them from
-+ * guest memory
-+ */
-+ vcpu->arch.pdptrs_from_userspace = false;
- }
-
- kvm_mmu_reset_context(vcpu);
---
-2.33.0
-
scsi-sd-free-scsi_disk-device-via-put_device.patch
usb-testusb-fix-for-showing-the-connection-speed.patch
kvm-do-not-shrink-halt_poll_ns-below-grow_start.patch
-kvm-x86-reset-pdptrs_from_userspace-when-exiting-smm.patch
+++ /dev/null
-From 3d48006c3a41e35d90275e364d8757092df564d5 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 13 Sep 2021 17:09:50 +0300
-Subject: KVM: x86: reset pdptrs_from_userspace when exiting smm
-
-From: Maxim Levitsky <mlevitsk@redhat.com>
-
-[ Upstream commit 37687c403a641f251cb2ef2e7830b88aa0647ba9 ]
-
-When exiting SMM, pdpts are loaded again from the guest memory.
-
-This fixes a theoretical bug, when exit from SMM triggers entry to the
-nested guest which re-uses some of the migration
-code which uses this flag as a workaround for a legacy userspace.
-
-Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
-Message-Id: <20210913140954.165665-4-mlevitsk@redhat.com>
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/x86/kvm/x86.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
-index d65da3b5837b..9c031d256028 100644
---- a/arch/x86/kvm/x86.c
-+++ b/arch/x86/kvm/x86.c
-@@ -7221,6 +7221,13 @@ static void kvm_smm_changed(struct kvm_vcpu *vcpu)
-
- /* Process a latched INIT or SMI, if any. */
- kvm_make_request(KVM_REQ_EVENT, vcpu);
-+
-+ /*
-+ * Even if KVM_SET_SREGS2 loaded PDPTRs out of band,
-+ * on SMM exit we still need to reload them from
-+ * guest memory
-+ */
-+ vcpu->arch.pdptrs_from_userspace = false;
- }
-
- kvm_mmu_reset_context(vcpu);
---
-2.33.0
-
tools-vm-page-types-remove-dependency-on-opt_file-fo.patch
selftests-kvm-align-smccc-call-with-the-spec-in-stea.patch
kvm-do-not-shrink-halt_poll_ns-below-grow_start.patch
-kvm-x86-reset-pdptrs_from_userspace-when-exiting-smm.patch
kvm-x86-add-amd-pmu-msrs-to-msrs_to_save_all.patch
kvm-x86-nsvm-restore-int_vector-in-svm_clear_vintr.patch
+++ /dev/null
-From a2676eced8f71a928d34cdbcbc0de8326f42801a Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 13 Sep 2021 17:09:50 +0300
-Subject: KVM: x86: reset pdptrs_from_userspace when exiting smm
-
-From: Maxim Levitsky <mlevitsk@redhat.com>
-
-[ Upstream commit 37687c403a641f251cb2ef2e7830b88aa0647ba9 ]
-
-When exiting SMM, pdpts are loaded again from the guest memory.
-
-This fixes a theoretical bug, when exit from SMM triggers entry to the
-nested guest which re-uses some of the migration
-code which uses this flag as a workaround for a legacy userspace.
-
-Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
-Message-Id: <20210913140954.165665-4-mlevitsk@redhat.com>
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/x86/kvm/x86.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
-index f1a0eebdcf64..eed058529e4b 100644
---- a/arch/x86/kvm/x86.c
-+++ b/arch/x86/kvm/x86.c
-@@ -6596,6 +6596,13 @@ static void kvm_smm_changed(struct kvm_vcpu *vcpu)
-
- /* Process a latched INIT or SMI, if any. */
- kvm_make_request(KVM_REQ_EVENT, vcpu);
-+
-+ /*
-+ * Even if KVM_SET_SREGS2 loaded PDPTRs out of band,
-+ * on SMM exit we still need to reload them from
-+ * guest memory
-+ */
-+ vcpu->arch.pdptrs_from_userspace = false;
- }
-
- kvm_mmu_reset_context(vcpu);
---
-2.33.0
-
scsi-ses-retry-failed-send-receive-diagnostic-comman.patch
tools-vm-page-types-remove-dependency-on-opt_file-fo.patch
kvm-do-not-shrink-halt_poll_ns-below-grow_start.patch
-kvm-x86-reset-pdptrs_from_userspace-when-exiting-smm.patch
kvm-x86-add-amd-pmu-msrs-to-msrs_to_save_all.patch