This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] vt-d: Fix Host Address Width

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] vt-d: Fix Host Address Width
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Jul 2008 07:50:13 -0700
Delivery-date: Fri, 11 Jul 2008 07:50:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215776793 -3600
# Node ID e10b682f148d9db312a68f82221e41b1d5e711a8
# Parent  03f685b6356a918b5990da32616383bd1040842c
vt-d: Fix Host Address Width

Host Address Width of the platform should be computed as N+1,
where N is the value reported in dmar acpi table.

Signed-off-by: Ameya Palande <2ameya@xxxxxxxxx>
 xen/drivers/passthrough/vtd/dmar.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 03f685b6356a -r e10b682f148d xen/drivers/passthrough/vtd/dmar.c
--- a/xen/drivers/passthrough/vtd/dmar.c        Fri Jul 11 12:45:06 2008 +0100
+++ b/xen/drivers/passthrough/vtd/dmar.c        Fri Jul 11 12:46:33 2008 +0100
@@ -400,7 +400,7 @@ static int __init acpi_parse_dmar(struct
         return -EINVAL;
-    dmar_host_address_width = dmar->width;
+    dmar_host_address_width = dmar->width + 1;
     dprintk(XENLOG_INFO VTDPREFIX, "Host address width %d\n",

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] vt-d: Fix Host Address Width, Xen patchbot-unstable <=