]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmatest: support xor-only, or pq-only channels in tests
authorDan Williams <dan.j.williams@intel.com>
Thu, 7 Nov 2013 00:30:02 +0000 (16:30 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 14 Nov 2013 19:04:39 +0000 (11:04 -0800)
commita9e554957de406d6adc581731f571b8a1503f6b0
tree2db53413a9c3d112d5eff349502ada0743917981
parenta310d037b8d06755c62bb4878c00d19490af5550
dmatest: support xor-only, or pq-only channels in tests

Currently we only test raid channels that happen to also have 'copy'
capability.  Search for capable channels that do not have DMA_MEMCPY.

Note the return value from run_threaded_test never really made sense
because it could return errors after successfully starting tests.  We
already have the test results per channel so missing channels can be
detected at that time.

Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c