xcp-1.6-updates/xen-4.1.hg

changeset 23330:5a65d6a1aab7

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
author Santosh Jodh <santosh.jodh@citrix.com>
date Fri Aug 03 10:39:13 2012 +0100 (2012-08-03)
parents fa34499e8f6c
children f8f8912b3de0
files xen/drivers/passthrough/vtd/iommu.c
line diff
     1.1 --- a/xen/drivers/passthrough/vtd/iommu.c	Mon Jul 30 13:38:58 2012 +0100
     1.2 +++ b/xen/drivers/passthrough/vtd/iommu.c	Fri Aug 03 10:39:13 2012 +0100
     1.3 @@ -2158,6 +2158,15 @@ int __init intel_vtd_setup(void)
     1.4      {
     1.5          iommu = drhd->iommu;
     1.6  
     1.7 +        printk("Intel VT-d supported page sizes: 4kB");
     1.8 +        if (cap_sps_2mb(iommu->cap))
     1.9 +            printk(", 2MB");
    1.10 +
    1.11 +        if (cap_sps_1gb(iommu->cap))
    1.12 +            printk(", 1GB");
    1.13 +
    1.14 +        printk(".\n");
    1.15 +
    1.16          if ( iommu_snoop && !ecap_snp_ctl(iommu->ecap) )
    1.17              iommu_snoop = 0;
    1.18