aboutsummaryrefslogtreecommitdiffstats
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
parentiommu/vt-d: Remove device_to_iommu() call from domain_remove_dev_info() (diff)
downloadlinux-dev-67ccac41fafda88492620f4c0a30d4ccb2eb7767.tar.xz
linux-dev-67ccac41fafda88492620f4c0a30d4ccb2eb7767.zip
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;