This patch set improves the dmatest module by adding multi channel testing capabilities and new parameters to allow more explicit control of the test functionality. Multi channel testing is added by the first patch to improve the process of testing DMA devices with multiple channels as the current driver limits testing to one specified channel per test run. The second patch improves iops results reported by the test for operations that last for more than one second as the test currently reports an incorrect 0 iops for long operations. The third patch adds a new property that allows configuration of address alignment from user space, and the fourth patch adds the ability to specify test transfer size without relying on a randomly generated transfer size. The fifth patch updates the API documentation to reflect the new changes. V2: Use do_div() instead of DIV_ROUND_CLOSEST for division, otherwise the module will reference __udivdi3 which is not present in 32-bit kernel and cause the following error: drivers/dma/dmatest.o: In function `dmatest_persec': >> drivers/dma/dmatest.c:457: undefined reference to `__udivdi3' >> drivers/dma/dmatest.c:457: undefined reference to `__udivdi3' >> drivers/dma/dmatest.c:457: undefined reference to `__udivdi3' Seraj Alijan (5): dmaengine: dmatest: Add support for multi channel testing dmaengine: dmatest: Use fixed point div to calculate iops dmaengine: dmatest: Add alignment parameter dmaengine: dmatest: Add transfer_size parameter dmaengine: Documentation: Add documentation for multi chan testing Documentation/driver-api/dmaengine/dmatest.rst | 27 +++- drivers/dma/dmatest.c | 172 ++++++++++++++++++++----- 2 files changed, 160 insertions(+), 39 deletions(-) -- 2.7.4