summaryrefslogtreecommitdiff
path: root/drivers/iommu/dmar.c
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/dmar.c
parent7c7faa11ecf3eec17699ae73fc6e336cbf993081 (diff)
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/dmar.c')
-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 7ea086f61073..56e1c79dc77f 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;