]> 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)
commit9b85da0cf96c9358f3a2b6ffc601ca23d08f38fd
tree8492819da403d3840ba34af08f771eb31098b739
parentae0945d7fbe5a6a5e767169d0c9ca622784b3c38
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