diff options
author | Christoph Hellwig <[email protected]> | 2018-12-16 18:19:45 +0100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-12-20 22:21:20 +1100 |
commit | 0aeba2d0d27c7341c10aeae7f013ad5f034d8b2d (patch) | |
tree | 17371a63e7763b3431c35c33982dd8c0dcf82c17 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 9286356907caa2d4737bd9dd8afe0b4ccaeea02b (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 <[email protected]>
[mpe: s/dir/direction in dma_nommu_unmap_page()]
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions