aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2016-07-25 10:34:19 -0700
committerVinod Koul <vinod.koul@intel.com>2016-08-08 08:11:43 +0530
commitfd3c69bd19244aa8cbf859561fd1b9f4ebc1d1c3 (patch)
treeb761ec1abdbe8929e210a46c5b41dc3b2c410b35 /crypto
parentdmaengine: ppc4xx/adma: move unmap to before callback (diff)
downloadlinux-dev-fd3c69bd19244aa8cbf859561fd1b9f4ebc1d1c3.tar.xz
linux-dev-fd3c69bd19244aa8cbf859561fd1b9f4ebc1d1c3.zip
dmaengine: xgene-dma: 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: Dave Jiang <dave.jiang@intel.com> Cc: Rameshwar Prasad Sahu <rsahu@apm.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions