(अमेय) Ameya (पाळंदे) Palande
2008-Jul-11 06:13 UTC
[Xen-devel] [PATCH] [VTD] 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. Signed-off-by: Ameya Palande <2ameya@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-devel