Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934075AbbGHPSl (ORCPT ); Wed, 8 Jul 2015 11:18:41 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:35982 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758236AbbGHPSh (ORCPT ); Wed, 8 Jul 2015 11:18:37 -0400 From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: guangrong.xiao@linux.intel.com, jroedel@suse.de, alex.williamson@redhat.com, ogerlitz@mellanox.com, amirv@mellanox.com Subject: [RFC/RFT PATCH v3 0/4] KVM: x86: full virtualization of guest MTRR Date: Wed, 8 Jul 2015 17:18:26 +0200 Message-Id: <1436368710-5452-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1402 Lines: 42 This part of the MTRR patches was dropped by Xiao. Bring SVM on feature parity with VMX, and then do guest MTRR virtualization for both VMX and SVM. The IPAT bit of VMX extended page tables is emulated by mangling the guest PAT value. I do not have any AMD machines that support an IOMMU, so I would like some help testing these patches. Thanks, Paolo v1->v2: AMD IOMMUs do have snooping control [Joerg] New patch 1 v2->v3: Split __KVM_ARCH_* defines [Alex] SVM: correctly map MTRR values to pgprot [Xiao] Jan Kiszka (1): KVM: SVM: Sync g_pat with guest-written PAT value Paolo Bonzini (3): KVM: count number of assigned devices KVM: SVM: use NPT page attributes KVM: x86: apply guest MTRR virtualization on host reserved pages arch/x86/include/asm/kvm_host.h | 2 + arch/x86/kvm/iommu.c | 2 + arch/x86/kvm/svm.c | 108 ++++++++++++++++++++++++++++++++++++++-- arch/x86/kvm/vmx.c | 11 ++-- arch/x86/kvm/x86.c | 18 +++++++ include/linux/kvm_host.h | 18 +++++++ virt/kvm/vfio.c | 5 ++ 7 files changed, 151 insertions(+), 13 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/