[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dmaengine
Subject:    [PATCH 0/5] Moving callbacks to after dma_descriptor_unmap()
From:       Dave Jiang <dave.jiang () intel ! com>
Date:       2016-07-25 17:33:52
Message-ID: 146946737734.166280.10866861849485682698.stgit () djiang5-desk3 ! ch ! intel ! com
[Download RAW message or body]

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic