[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.1-testing] Intel VT-d: Dump IOMMU supported page sizes
# HG changeset patch # User Santosh Jodh <santosh.jodh@xxxxxxxxxx> # Date 1343986753 -3600 # Node ID 5a65d6a1aab79b80e4b4cd7bf2621707e507a546 # Parent fa34499e8f6c579d20d18b308c51fc8640b7e0b3 Intel VT-d: Dump IOMMU supported page sizes Signed-off-by: Santosh Jodh <santosh.jodh@xxxxxxxxxx> xen-unstable changeset: 25725:9ad379939b78 xen-unstable date: Fri Aug 03 10:38:04 2012 +0100 --- diff -r fa34499e8f6c -r 5a65d6a1aab7 xen/drivers/passthrough/vtd/iommu.c --- a/xen/drivers/passthrough/vtd/iommu.c Mon Jul 30 13:38:58 2012 +0100 +++ b/xen/drivers/passthrough/vtd/iommu.c Fri Aug 03 10:39:13 2012 +0100 @@ -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; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |