ia64/xen-unstable

changeset 17379:fedb66235136

VT-d: Enable queued invalidation on all vt-d engines before enabling
interrupt remapping.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 03 11:24:20 2008 +0100 (2008-04-03)
parents a7181b2f7d44
children 9a4c6b6a801d
files xen/drivers/passthrough/vtd/iommu.c
line diff
     1.1 --- a/xen/drivers/passthrough/vtd/iommu.c	Thu Apr 03 11:19:50 2008 +0100
     1.2 +++ b/xen/drivers/passthrough/vtd/iommu.c	Thu Apr 03 11:24:20 2008 +0100
     1.3 @@ -1897,7 +1897,11 @@ static int init_vtd2_hw(void)
     1.4          if ( qinval_setup(iommu) != 0 )
     1.5              dprintk(XENLOG_ERR VTDPREFIX,
     1.6                      "Queued Invalidation hardware not found\n");
     1.7 +    }
     1.8  
     1.9 +    for_each_drhd_unit ( drhd )
    1.10 +    {
    1.11 +        iommu = drhd->iommu;
    1.12          if ( intremap_setup(iommu) != 0 )
    1.13              dprintk(XENLOG_ERR VTDPREFIX,
    1.14                      "Interrupt Remapping hardware not found\n");