[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


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-4.1-testing <patchbot@xxxxxxx>
  • Date: Tue, 07 Aug 2012 15:00:18 +0000
  • Delivery-date: Tue, 07 Aug 2012 15:02:21 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.