]> git.karo-electronics.de Git - linux-beck.git/commit
arm: dma-mapping: add {map,unmap}_resource for iommu ops
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 10 Aug 2016 11:22:17 +0000 (13:22 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 16:46:41 +0000 (22:16 +0530)
commit24ed5d2c07e36ebaf0e8ce483a41b8e44d7499d4
tree63dce0682f083eb79529ca192668e0f9caf304b2
parent6f3d87968f9c8b529bc81eff5a1f45e92553493d
arm: dma-mapping: add {map,unmap}_resource for iommu ops

Add methods to map/unmap device resources addresses for dma_map_ops that
are IOMMU aware. This is needed to map a device MMIO register from a
physical address.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/mm/dma-mapping.c