]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dmatest: add norandom option
authorYang Shunyong <shunyong.yang@hxt-semitech.com>
Fri, 2 Feb 2018 09:51:09 +0000 (17:51 +0800)
committerVinod Koul <vinod.koul@intel.com>
Mon, 12 Feb 2018 03:46:01 +0000 (09:16 +0530)
commitaad8f79241e309fddb7897f7a7641d870162a6a9
tree8492819da403d3840ba34af08f771eb31098b739
parentbcac507057f6668c45308343ba41f4c91a086136
dmaengine: dmatest: add norandom option

Existing option noverify disables both random src/dst address offset
setup and data verification. Sometimes, we need to control random
src/dst address setup and verification separately, such as disabling
random to make sure that test covers addresses in all interleaving
banks, but data verification is still performed.

This patch adds option norandom to disable random offset setup. Option
noverify has been changed to disable data verification only.

Cc: Joey Zheng <yu.zheng@hxt-semitech.com>
Signed-off-by: Yang Shunyong <shunyong.yang@hxt-semitech.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmatest.c