hexagon: remove the sync_single_for_cpu DMA operation
authorChristoph Hellwig <hch@lst.de>
Sat, 19 May 2018 06:55:39 +0000 (08:55 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 8 Sep 2018 09:17:30 +0000 (11:17 +0200)
commit37fca4bd018f9959cf28ea4a6da9f74ccc4d4025
tree7643afa9a04190127d62db8c53df389751f050d2
parentd7b686ebf704e3d91925a535a0905ba6be23757c
hexagon: remove the sync_single_for_cpu DMA operation

hexagon does all the required cache maintainance at dma map time, and none
at unmap time.  It thus has to implement sync_single_for_device to match
the map cace for buffer reuse, but there is no point in doing another
invalidation in the sync_single_cpu_case, which in terms of cache
maintainance is equivalent to the unmap case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/hexagon/kernel/dma.c