]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
iommu/arm-smmu: Wire up map_sg for arm-smmu-v3
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Fri, 3 Jun 2016 10:50:30 +0000 (11:50 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 9 Aug 2016 13:08:20 +0000 (15:08 +0200)
commit4b9e546c21ea07f796e8e9083c481dce7c6b68cb
tree55ecb3e532494a2d5354f400d11bf3ae6369ce87
parent6aecec495bbd11dfa16d259cec6fcead4bae0332
iommu/arm-smmu: Wire up map_sg for arm-smmu-v3

BugLink: http://bugs.launchpad.net/bugs/1607404
commit 9aeb26cfc2abc96be42b9df2d0f2dc5d805084ff upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/iommu/arm-smmu-v3.c