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

[Xen-devel] [PATCH] [VTD] Fix Host Address Width


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "(àààà) Ameya (àààààà) Palande" <2ameya@xxxxxxxxx>
  • Date: Fri, 11 Jul 2008 16:13:55 +1000
  • Delivery-date: Thu, 10 Jul 2008 23:14:19 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=V7cOF2W7QiEUWgITYc1O9+cJbsF9YKQkkKYvdTyOOX49bEqcT7hIUuGVmxFJy7ZVKu XHuxKDHgTk3v9nH8yuvrn0IenKtv0Fes/524PvEe6B+Qnb8FTe1Ubqkaj2MPAiZNZFYa GGID5AXC824kHny/HR873ECZRD70/Wdw36xv4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

Cheers,
Ameya.

Signed-off-by: Ameya Palande <2ameya@xxxxxxxxx>

diff -r 27aaff984b36 xen/drivers/passthrough/vtd/dmar.c
--- a/xen/drivers/passthrough/vtd/dmar.c        Thu Jul 10 17:33:23 2008 +0100
+++ b/xen/drivers/passthrough/vtd/dmar.c        Fri Jul 11 16:02:11 2008 +1000
@@ -400,7 +400,7 @@
         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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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