ARM: dma-mapping: Pass DMA attrs as IOMMU prot
authorHiroshi Doyu <hdoyu@nvidia.com>
Thu, 20 Jun 2013 04:44:36 +0000 (07:44 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:40:36 +0000 (13:40 -0700)
commitb6e4452671eeb32500cbf4d3353f6ef90138840f
tree5816e6a37b1dcda172fe9a74d659714b4a372ad5
parent7a3c03a54d8a0abe1588a8d19183910a01eec2e7
ARM: dma-mapping: Pass DMA attrs as IOMMU prot

Pass DMA attribute as IOMMU property, which can be proccessed in the
backend implementation of IOMMU. For example, DMA_ATTR_READ_ONLY can
be translated into each IOMMU H/W implementaion.

Bug 1309863

Change-Id: I0921ec35a4e056ea45a79acbea3e3b58a5a13a66
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/260009
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
arch/arm/mm/dma-mapping.c