projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7329de
)
vt-d: Fix Host Address Width
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 11 Jul 2008 11:46:33 +0000
(12:46 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 11 Jul 2008 11:46:33 +0000
(12:46 +0100)
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>
xen/drivers/passthrough/vtd/dmar.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/vtd/dmar.c
b/xen/drivers/passthrough/vtd/dmar.c
index 7f47b0697738d59a47449aefcc9cacb80a02b6bc..a6876ec6a35c1eb90b47fb1559beab1f26b2ed76 100644
(file)
--- a/
xen/drivers/passthrough/vtd/dmar.c
+++ b/
xen/drivers/passthrough/vtd/dmar.c
@@
-400,7
+400,7
@@
static int __init acpi_parse_dmar(struct acpi_table_header *table)
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);