Skip to contentSkip to conversation

Fix Host Address Width

PATCH New (अमेय) Ameya ( पाळंदे) Palande 1 participant 1 message Jul 11, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cheers,
Ameya.

xen/drivers/passthrough/vtd/dmar.c Fri Jul 11 16:02:11 2008 +1000 renamed from xen/drivers/passthrough/vtd/dmar.c Thu Jul 10 17:33:23 2008 +0100 +1 -1
diff -r 27aaff984b36 xen/drivers/passthrough/vtd/dmar.c
@@ -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);