diff options
author | Hanna Hawa <[email protected]> | 2018-07-17 13:30:02 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2018-07-20 15:01:58 +0530 |
commit | c3a272c7b0c8995bab2116436b03e0e44b480c73 (patch) | |
tree | 73bff070872fb05284309989d2783f8a76acdc31 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5a80aff92ad28c5e3045b542576c1d08260606db (diff) |
dmaengine: mv_xor_v2: move unmap to before callback
Completion callback should happen after dma_descriptor_unmap() has
happened. This allow the cache invalidate to happen and ensure that
the data accessed by the upper layer is in memory that was from DMA
rather than stale data. On some architecture this is done by the
hardware, however we should make the code consistent to not cause
confusion.
Signed-off-by: Hanna Hawa <[email protected]>
Reviewed-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions