[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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",
             dmar_host_address_width);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.