|
@@ -676,6 +676,7 @@ static int __init init_iommu_one(struct amd_iommu *iommu, struct ivhd_header *h)
|
|
*/
|
|
*/
|
|
iommu->devid = h->devid;
|
|
iommu->devid = h->devid;
|
|
iommu->cap_ptr = h->cap_ptr;
|
|
iommu->cap_ptr = h->cap_ptr;
|
|
|
|
+ iommu->pci_seg = h->pci_seg;
|
|
iommu->mmio_phys = h->mmio_phys;
|
|
iommu->mmio_phys = h->mmio_phys;
|
|
iommu->mmio_base = iommu_map_mmio_space(h->mmio_phys);
|
|
iommu->mmio_base = iommu_map_mmio_space(h->mmio_phys);
|
|
if (!iommu->mmio_base)
|
|
if (!iommu->mmio_base)
|