ia64/xen-unstable

changeset 18035:e10b682f148d

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@gmail.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jul 11 12:46:33 2008 +0100 (2008-07-11)
parents 03f685b6356a
children a762b4aed1a8
files xen/drivers/passthrough/vtd/dmar.c
line diff
     1.1 --- a/xen/drivers/passthrough/vtd/dmar.c	Fri Jul 11 12:45:06 2008 +0100
     1.2 +++ b/xen/drivers/passthrough/vtd/dmar.c	Fri Jul 11 12:46:33 2008 +0100
     1.3 @@ -400,7 +400,7 @@ static int __init acpi_parse_dmar(struct
     1.4          return -EINVAL;
     1.5      }
     1.6  
     1.7 -    dmar_host_address_width = dmar->width;
     1.8 +    dmar_host_address_width = dmar->width + 1;
     1.9      dprintk(XENLOG_INFO VTDPREFIX, "Host address width %d\n",
    1.10              dmar_host_address_width);
    1.11