The following series moves the callback to the the upper layer after dma_descriptor_unmap() has happened in order to ensure the data being read is not stale. Some CPU archs handle this in hardware but to be consistent and correct we should make sure the unmap happens before the callback in all drivers. This series depends on the error result callback series. --- Dave Jiang (5): dmaengine: fsldma: move unmap to before callback dmaengine: fsl_raid: move unmap to before callback dmaengine: mv_xor: move unmap to before callback dmaengine: ppc4xx/adma: move unmap to before callback dmaengine: xgene-dma: move unmap to before callback drivers/dma/fsl_raid.c | 2 +- drivers/dma/fsldma.c | 2 +- drivers/dma/mv_xor.c | 2 +- drivers/dma/ppc4xx/adma.c | 2 +- drivers/dma/xgene-dma.c | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) -- -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html