VT-d: Enumerate IOMMUs when listing capabilities
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 20 Mar 2013 09:02:26 +0000 (10:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Mar 2013 09:02:26 +0000 (10:02 +0100)
This saves N identical console log lines on a multi-iommu server.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/passthrough/vtd/iommu.c

index b6ea6850c56d7e93252c2d4c1e73e468499e7a18..132f04a0836a991987527d7f5c45df63f916d825 100644 (file)
@@ -2131,7 +2131,8 @@ int __init intel_vtd_setup(void)
     {
         iommu = drhd->iommu;
 
-        printk("Intel VT-d supported page sizes: 4kB");
+        printk("Intel VT-d iommu %"PRIu32" supported page sizes: 4kB",
+               iommu->index);
         if (cap_sps_2mb(iommu->cap))
             printk(", 2MB");