]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
ARM64: mm: dma-mapping: Add missing support for io coherency
authorSri Krishna chowdary <schowdary@nvidia.com>
Wed, 14 Dec 2016 11:23:34 +0000 (16:53 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 11 Jan 2017 07:33:41 +0000 (23:33 -0800)
commit286ddaddb19b7da1b43240e0ec0f1b558d659ca4
tree3a8c7b66e2919b9ac65c74d1c82ad30c97d8f33d
parenta57d5ed3003b0a28c711db919643fb3b2948b614
ARM64: mm: dma-mapping: Add missing support for io coherency

Set the device's dma coherency field and setup proper dma operations.
Avoid unnecessary cache operations and pass iommu relevant prot field
to iommu_map().

JIRA TMM-79

Change-Id: I25f196f59821888cb100ec425b595318827db87f
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/1270969
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
arch/arm64/mm/dma-mapping.c