summaryrefslogtreecommitdiff
path: root/drivers/crypto/amcc/crypto4xx_core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-16 18:19:45 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-20 22:21:20 +1100
commit0aeba2d0d27c7341c10aeae7f013ad5f034d8b2d (patch)
tree17371a63e7763b3431c35c33982dd8c0dcf82c17 /drivers/crypto/amcc/crypto4xx_core.c
parent9286356907caa2d4737bd9dd8afe0b4ccaeea02b (diff)
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/crypto4xx_core.c')
0 files changed, 0 insertions, 0 deletions