ARM: dma-mapping: Introduce dma_map_linear_attrs() for IOVA linear map
authorHiroshi Doyu <hdoyu@nvidia.com>
Wed, 25 Jul 2012 13:46:28 +0000 (16:46 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:33:35 +0000 (12:33 -0700)
commitafa28ce7ec39852a7095ed950dcf22410cf94dfa
tree2d539c4479a90e7f80c73cc1ff33206232d074ae
parent3d22f64bd2671308aa5c6664efd9fff698f7c706
ARM: dma-mapping: Introduce dma_map_linear_attrs() for IOVA linear map

Introduce a helper function, dma_map_linear(_attrs)() to create IOVA
linear map, where IOVA and kernel virtual addresses are mapped at the
same address linearly. This is useful to support legacy device drivers
which expects no IOMMU.

Change-Id: Iedd7cd291b1c2a814ac0270344ceb4f439d47a00
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>

Rebase-Id: Rc9d13e9149f5e3644684743125ab4517bae3947c
arch/arm/include/asm/dma-mapping.h
include/asm-generic/dma-mapping-common.h