]> git.baikalelectronics.ru Git - kernel.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)
commitf73a75bf894a372d66e4179cc487bd7099ac26ed
tree2db53413a9c3d112d5eff349502ada0743917981
parentdd972aa8853f0c364be4bf2e2e1705dccc6e8667
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