Received: from eggs.gnu.org ([2001:4830:134:3::10]:48851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGz0P-0002DH-1o for qemu-devel@nongnu.org; Tue, 13 Dec 2016 21:09:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGz0L-0001n2-2u for qemu-devel@nongnu.org; Tue, 13 Dec 2016 21:09:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51614) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGz0K-0001mm-T9 for qemu-devel@nongnu.org; Tue, 13 Dec 2016 21:09:12 -0500 From: Peter Xu Date: Wed, 14 Dec 2016 10:09:03 +0800 Message-Id: <1481681345-32424-1-git-send-email-peterx@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/2] VT-d supports 48 bits address width List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kevin.tian@intel.com, famz@redhat.com, mst@redhat.com, jasowang@redhat.com, alex.williamson@redhat.com, peterx@redhat.com V3: - renaming "aw-bits" to "x-aw-bits", and clarify that this parameter is experimental [AlexW] (V2 is mostly a re-written of V1, so no change log is appended) The first patch did some check to make sure the CE GAW bits are always valid. The second patch extended VT-d GAW (Guest Address Width) from 39 bits to 48 bits by providing "aw-bits" parameter for intel-iommu. Test done: - boot vm without "x-aw-bits" or "x-aw-bits=39": guest boots with 39 bits - boot vm with "x-aw-bits=48": guest boots with 48 bits - boot vm with illegal x-aw-bits: guest refuses to boot Please review. Thanks, Peter Xu (2): intel_iommu: check validity for GAW bits in CE intel_iommu: provide "x-aw-bits" parameter hw/i386/acpi-build.c | 8 +++++++- hw/i386/intel_iommu.c | 38 ++++++++++++++++++++++++++++++++------ hw/i386/intel_iommu_internal.h | 13 ++++++------- include/hw/i386/intel_iommu.h | 1 + 4 files changed, 46 insertions(+), 14 deletions(-) -- 2.7.4