[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] VT-d: Enable queued invalidation on all vt-d engines before enabling



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207218260 -3600
# Node ID fedb66235136c9628cc263856473122d68c9ca81
# Parent  a7181b2f7d446a1de6ec397126961ffa799d76cc
VT-d: Enable queued invalidation on all vt-d engines before enabling
interrupt remapping.

Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>
---
 xen/drivers/passthrough/vtd/iommu.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

diff -r a7181b2f7d44 -r fedb66235136 xen/drivers/passthrough/vtd/iommu.c
--- a/xen/drivers/passthrough/vtd/iommu.c       Thu Apr 03 11:19:50 2008 +0100
+++ b/xen/drivers/passthrough/vtd/iommu.c       Thu Apr 03 11:24:20 2008 +0100
@@ -1897,7 +1897,11 @@ static int init_vtd2_hw(void)
         if ( qinval_setup(iommu) != 0 )
             dprintk(XENLOG_ERR VTDPREFIX,
                     "Queued Invalidation hardware not found\n");
-
+    }
+
+    for_each_drhd_unit ( drhd )
+    {
+        iommu = drhd->iommu;
         if ( intremap_setup(iommu) != 0 )
             dprintk(XENLOG_ERR VTDPREFIX,
                     "Interrupt Remapping hardware not found\n");

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.