iommu/amd: Handle IOMMU_DOMAIN_DMA in ops->domain_free call-back
[firefly-linux-kernel-4.4.55.git] / drivers / iommu / arm-smmu-v3.c
index 4e5118a4cd305ee4fa9ae6613d9e9615b1570082..8487987458a1a7d10b78693b629b93c6824468e6 100644 (file)
@@ -1919,6 +1919,7 @@ static struct iommu_ops arm_smmu_ops = {
        .detach_dev             = arm_smmu_detach_dev,
        .map                    = arm_smmu_map,
        .unmap                  = arm_smmu_unmap,
+       .map_sg                 = default_iommu_map_sg,
        .iova_to_phys           = arm_smmu_iova_to_phys,
        .add_device             = arm_smmu_add_device,
        .remove_device          = arm_smmu_remove_device,