summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2014-03-10 00:49:45 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2014-03-24 18:07:31 +0400
commit67ccac41fafda88492620f4c0a30d4ccb2eb7767 (patch)
treebdbb02b330c8977c49854792ee7d0d323a02e493 /drivers/iommu
parent7c7faa11ecf3eec17699ae73fc6e336cbf993081 (diff)
downloadlinux-67ccac41fafda88492620f4c0a30d4ccb2eb7767.tar.xz
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 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;