diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-16 20:19:45 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-20 14:21:20 +0300 |
commit | 0aeba2d0d27c7341c10aeae7f013ad5f034d8b2d (patch) | |
tree | 17371a63e7763b3431c35c33982dd8c0dcf82c17 /drivers/crypto/amcc | |
parent | 9286356907caa2d4737bd9dd8afe0b4ccaeea02b (diff) | |
download | linux-0aeba2d0d27c7341c10aeae7f013ad5f034d8b2d.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/amcc')
0 files changed, 0 insertions, 0 deletions