[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Intel VT-d: Dump IOMMU supported page sizes
# HG changeset patch # User Santosh Jodh <santosh.jodh@xxxxxxxxxx> # Date 1343986684 -3600 # Node ID 9ad379939b78769a9368123989bb0736096fc6ab # Parent 612898732e66db3d3b992df1a1af1655af4d92c9 Intel VT-d: Dump IOMMU supported page sizes Signed-off-by: Santosh Jodh <santosh.jodh@xxxxxxxxxx> --- diff -r 612898732e66 -r 9ad379939b78 xen/drivers/passthrough/vtd/iommu.c --- a/xen/drivers/passthrough/vtd/iommu.c Fri Aug 03 09:54:17 2012 +0100 +++ b/xen/drivers/passthrough/vtd/iommu.c Fri Aug 03 10:38:04 2012 +0100 @@ -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; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |