Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Christoph Hellwig 0aeba2d0d2 powerpc/dma: properly wire up the unmap_page and unmap_sg methods
The unmap methods need to transfer memory ownership back from the
device to the cpu by identical means as dma_sync_*_to_cpu. I'm not
sure powerpc needs to do any work in this transfer direction, but
given that it does invalidate the caches in dma_sync_*_to_cpu already
we should make sure we also do so on unmapping.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[mpe: s/dir/direction in dma_nommu_unmap_page()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-12-20 22:21:20 +11:00
..
2018-06-03 21:19:40 +10:00
2018-07-30 22:47:53 +10:00
2018-08-13 15:59:06 +10:00
2018-12-17 22:11:54 +11:00
2017-12-11 13:03:35 +11:00
2018-12-20 22:21:20 +11:00
2018-11-25 17:11:21 +11:00
2018-10-09 16:51:05 +11:00
2018-05-25 12:04:46 +10:00