diff options
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | 2016-06-03 11:50:30 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-06-13 11:00:59 +0200 |
commit | 9aeb26cfc2abc96be42b9df2d0f2dc5d805084ff (patch) | |
tree | 35c65d088112ec0455b098a1c6ba21a13f5ca71f /drivers/iommu/arm-smmu-v3.c | |
parent | 5edb56491d4812c42175980759da53388e5d86f5 (diff) | |
download | op-kernel-dev-9aeb26cfc2abc96be42b9df2d0f2dc5d805084ff.zip op-kernel-dev-9aeb26cfc2abc96be42b9df2d0f2dc5d805084ff.tar.gz |
iommu/arm-smmu: Wire up map_sg for arm-smmu-v3
The map_sg callback is missing from arm_smmu_ops, but is required by
iommu.h. Similarly to most other IOMMU drivers, connect it to
default_iommu_map_sg.
Cc: <stable@vger.kernel.org>
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/arm-smmu-v3.c')
-rw-r--r-- | drivers/iommu/arm-smmu-v3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index 94b6821..5f6b3bc 100644 --- a/drivers/iommu/arm-smmu-v3.c +++ b/drivers/iommu/arm-smmu-v3.c @@ -1941,6 +1941,7 @@ static struct iommu_ops arm_smmu_ops = { .attach_dev = arm_smmu_attach_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, |