diff options
-rw-r--r-- | drivers/iommu/dmar.c | 1 | ||||
-rw-r--r-- | include/linux/intel-iommu.h | 1 |
2 files changed, 2 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) | |||
952 | } | 952 | } |
953 | iommu->agaw = agaw; | 953 | iommu->agaw = agaw; |
954 | iommu->msagaw = msagaw; | 954 | iommu->msagaw = msagaw; |
955 | iommu->segment = drhd->segment; | ||
955 | 956 | ||
956 | iommu->node = -1; | 957 | iommu->node = -1; |
957 | 958 | ||
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index 2c4bed593b32..0a2da5188217 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h | |||
@@ -319,6 +319,7 @@ struct intel_iommu { | |||
319 | int agaw; /* agaw of this iommu */ | 319 | int agaw; /* agaw of this iommu */ |
320 | int msagaw; /* max sagaw of this iommu */ | 320 | int msagaw; /* max sagaw of this iommu */ |
321 | unsigned int irq; | 321 | unsigned int irq; |
322 | u16 segment; /* PCI segment# */ | ||
322 | unsigned char name[13]; /* Device Name */ | 323 | unsigned char name[13]; /* Device Name */ |
323 | 324 | ||
324 | #ifdef CONFIG_INTEL_IOMMU | 325 | #ifdef CONFIG_INTEL_IOMMU |