linux/Documentation/driver-api/dmaengine
Dave Jiang 47ec7f09bc dmaengine: cookie bypass for out of order completion
The cookie tracking in dmaengine expects all submissions completed in
order. Some DMA devices like Intel DSA can complete submissions out of
order, especially if configured with a work queue sharing multiple DMA
engines. Add a status DMA_OUT_OF_ORDER that tx_status can be returned for
those DMA devices. The user should use callbacks to track the completion
rather than the DMA cookie. This would address the issue of dmatest
complaining that descriptors are "busy" when the cookie count goes
backwards due to out of order completion. Add DMA_COMPLETION_NO_ORDER
DMA capability to allow the driver to flag the device's ability to complete
operations out of order.

Reported-by: Swathi Kovvuri <swathi.kovvuri@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Swathi Kovvuri <swathi.kovvuri@intel.com>
Link: https://lore.kernel.org/r/158939557151.20335.12404113976045569870.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-06-17 19:45:14 +05:30
..
client.rst dmaengine: doc: fix warnings/issues of client.rst 2020-02-13 20:35:24 +05:30
dmatest.rst Documentation: dmaengine: clean up description of dmatest usage 2019-07-05 12:21:01 +05:30
index.rst docs: prevent warnings due to autosectionlabel 2020-03-20 17:01:29 -06:00
provider.rst dmaengine: cookie bypass for out of order completion 2020-06-17 19:45:14 +05:30
pxa_dma.rst dmaengine: doc: ReSTize pxa_dma doc 2017-11-05 10:03:34 -07:00