diff options
author | Santosh Jodh <santosh.jodh@citrix.com> | 2012-08-03 10:39:13 +0100 |
---|---|---|
committer | Santosh Jodh <santosh.jodh@citrix.com> | 2012-08-03 10:39:13 +0100 |
commit | 7680b3d48118e74ad3c9f8c66e5c5867d47ff6c8 (patch) | |
tree | 66028ec287efd9407273ae5687b49b04b2c17ee7 | |
parent | a0515fe8945ee06277408109d86bd5aaac77412f (diff) | |
download | xen-7680b3d48118e74ad3c9f8c66e5c5867d47ff6c8.tar.gz xen-7680b3d48118e74ad3c9f8c66e5c5867d47ff6c8.tar.bz2 xen-7680b3d48118e74ad3c9f8c66e5c5867d47ff6c8.zip |
Intel VT-d: Dump IOMMU supported page sizes
Signed-off-by: Santosh Jodh <santosh.jodh@citrix.com>
xen-unstable changeset: 25725:9ad379939b78
xen-unstable date: Fri Aug 03 10:38:04 2012 +0100
-rw-r--r-- | xen/drivers/passthrough/vtd/iommu.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index ac0035a5a2..a943bb85c6 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -2158,6 +2158,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; |