diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2014-03-09 21:49:45 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2014-03-24 15:07:31 +0100 |
commit | 67ccac41fafda88492620f4c0a30d4ccb2eb7767 (patch) | |
tree | bdbb02b330c8977c49854792ee7d0d323a02e493 /drivers/iommu/dmar.c | |
parent | iommu/vt-d: Remove device_to_iommu() call from domain_remove_dev_info() (diff) | |
download | linux-67ccac41fafda88492620f4c0a30d4ccb2eb7767.tar.xz linux-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/dmar.c')
-rw-r--r-- | drivers/iommu/dmar.c | 1 |
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; |