OSDN Git Service

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)
commit2e67a0875b11b800f63d19e06d0254bbd8892188
tree8492819da403d3840ba34af08f771eb31098b739
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
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