summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2014-03-09 13:49:45 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2014-03-24 14:07:31 +0000
commit67ccac41fafda88492620f4c0a30d4ccb2eb7767 (patch)
treebdbb02b330c8977c49854792ee7d0d323a02e493 /drivers/iommu
parent7c7faa11ecf3eec17699ae73fc6e336cbf993081 (diff)
downloadop-kernel-dev-67ccac41fafda88492620f4c0a30d4ccb2eb7767.zip
op-kernel-dev-67ccac41fafda88492620f4c0a30d4ccb2eb7767.tar.gz
iommu/vt-d: Store PCI segment number in struct intel_iommu
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/dmar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
index 7ea086f..56e1c79 100644
--- a/drivers/iommu/dmar.c
+++ b/drivers/iommu/dmar.c
@@ -952,6 +952,7 @@ static int alloc_iommu(struct dmar_drhd_unit *drhd)
}
iommu->agaw = agaw;
iommu->msagaw = msagaw;
+ iommu->segment = drhd->segment;
iommu->node = -1;
OpenPOWER on IntegriCloud