* Patch "Revert "KVM: SVM: Sync g_pat with guest-written PAT value"" has been added to the 4.2-stable tree
@ 2015-10-13 18:21 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-10-13 18:21 UTC (permalink / raw)
To: pbonzini, gregkh; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
Revert "KVM: SVM: Sync g_pat with guest-written PAT value"
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
revert-kvm-svm-sync-g_pat-with-guest-written-pat-value.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 625422f60c55bbc368b8568ff925770b36bfc189 Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <pbonzini@redhat.com>
Date: Thu, 1 Oct 2015 13:28:15 +0200
Subject: Revert "KVM: SVM: Sync g_pat with guest-written PAT value"
From: Paolo Bonzini <pbonzini@redhat.com>
commit 625422f60c55bbc368b8568ff925770b36bfc189 upstream.
This reverts commit e098223b789b4a618dacd79e5e0dad4a9d5018d1,
which has a dependency on other commits being reverted.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/x86/kvm/svm.c | 10 ----------
1 file changed, 10 deletions(-)
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -3255,16 +3255,6 @@ static int svm_set_msr(struct kvm_vcpu *
case MSR_VM_IGNNE:
vcpu_unimpl(vcpu, "unimplemented wrmsr: 0x%x data 0x%llx\n", ecx, data);
break;
- case MSR_IA32_CR_PAT:
- if (npt_enabled) {
- if (!kvm_mtrr_valid(vcpu, MSR_IA32_CR_PAT, data))
- return 1;
- vcpu->arch.pat = data;
- svm_set_guest_pat(svm, &svm->vmcb->save.g_pat);
- mark_dirty(svm->vmcb, VMCB_NPT);
- break;
- }
- /* fall through */
default:
return kvm_set_msr_common(vcpu, msr);
}
Patches currently in stable-queue which might be from pbonzini@redhat.com are
queue-4.2/kvm-fix-double-free-for-fast-mmio-eventfd.patch
queue-4.2/kvm-fix-zero-length-mmio-searching.patch
queue-4.2/revert-kvm-x86-apply-guest-mtrr-virtualization-on-host-reserved-pages.patch
queue-4.2/kvm-vmx-fix-vpid-is-0000h-in-non-root-operation.patch
queue-4.2/revert-kvm-svm-use-npt-page-attributes.patch
queue-4.2/revert-kvm-svm-sync-g_pat-with-guest-written-pat-value.patch
queue-4.2/kvm-factor-out-core-eventfd-assign-deassign-logic.patch
queue-4.2/kvm-x86-trap-amd-msrs-for-the-tseg-base-and-mask.patch
queue-4.2/kvm-svm-reset-mmu-on-vcpu-reset.patch
queue-4.2/kvm-don-t-try-to-register-to-kvm_fast_mmio_bus-for-non-mmio-eventfd.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-13 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 18:21 Patch "Revert "KVM: SVM: Sync g_pat with guest-written PAT value"" has been added to the 4.2-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).