[PATCH v3 0/6] dma/ioat: fix issues with stopping and restarting device
Bruce Richardson
bruce.richardson at intel.com
Thu Feb 16 12:09:13 CET 2023
This patchset fixes a couple of problems with stopping and restarting an
ioat DMA device. Following the three fixes, a series of improvements are
made to the dmadev unit tests to properly validate that dmadevs work
correctly as they are started and stopped, and ensure that no other or
future drivers will suffer from issues.
v3:
* remove unnecessary mempool free on error (patch 4), as noted by Chengwen
v2:
* extra patch to fix issues with error reporting, as noted by Conor W.
Bruce Richardson (6):
dma/ioat: fix device stop if no copies done
dma/ioat: fix incorrectly set indexes after restart
dma/ioat: fix incorrect error reporting on restart
test/dmadev: check result for device stop
test/dmadev: create separate function for single copy test
test/dmadev: add tests for stopping and restarting dev
app/test/test_dmadev.c | 171 ++++++++++++++++++++++-----------
drivers/dma/ioat/ioat_dmadev.c | 31 ++++--
2 files changed, 139 insertions(+), 63 deletions(-)
--
2.37.2
More information about the dev
mailing list