projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815b55b
)
Intel VT-d: Dump IOMMU supported page sizes
author
Santosh Jodh
<santosh.jodh@citrix.com>
Fri, 3 Aug 2012 09:38:04 +0000
(10:38 +0100)
committer
Santosh Jodh
<santosh.jodh@citrix.com>
Fri, 3 Aug 2012 09:38:04 +0000
(10:38 +0100)
Signed-off-by: Santosh Jodh <santosh.jodh@citrix.com>
xen/drivers/passthrough/vtd/iommu.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/vtd/iommu.c
b/xen/drivers/passthrough/vtd/iommu.c
index 14c05817d5f99071cf961e49ed7e254ed317e173..b4cd71d4339c69c92a6f22826742c220c3db1fc7 100644
(file)
--- a/
xen/drivers/passthrough/vtd/iommu.c
+++ b/
xen/drivers/passthrough/vtd/iommu.c
@@
-2137,6
+2137,15
@@
int __init intel_vtd_setup(void)
{
iommu = drhd->iommu;
+ printk("Intel VT-d supported page sizes: 4kB");
+ if (cap_sps_2mb(iommu->cap))
+ printk(", 2MB");
+
+ if (cap_sps_1gb(iommu->cap))
+ printk(", 1GB");
+
+ printk(".\n");
+
if ( iommu_snoop && !ecap_snp_ctl(iommu->ecap) )
iommu_snoop = 0;