]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85819586c2e66240e214ab2973b314c63dd3dc42
tree7643afa9a04190127d62db8c53df389751f050d2
parentbbe4191d2b8d811479d5eff00b1b439870cd9b42
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