提交 027ec86e 编写于 作者: D Daniel Thompson 提交者: Zheng Zengkai

Documentation: dmaengine: Correctly describe dmatest with channel unset

stable inclusion
from stable-v5.10.94
commit d1e85fcd73b5c94dc5032a63ecb3df4cbceda82d
bugzilla: https://gitee.com/openeuler/kernel/issues/I531X9

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d1e85fcd73b5c94dc5032a63ecb3df4cbceda82d

--------------------------------

commit c61d7b2e upstream.

Currently the documentation states that channels must be configured before
running the dmatest. This has not been true since commit 6b41030f
("dmaengine: dmatest: Restore default for channel"). Fix accordingly.

Fixes: 6b41030f ("dmaengine: dmatest: Restore default for channel")
Signed-off-by: NDaniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20211118100952.27268-3-daniel.thompson@linaro.orgSigned-off-by: NVinod Koul <vkoul@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 38c3e4be
...@@ -143,13 +143,14 @@ Part 5 - Handling channel allocation ...@@ -143,13 +143,14 @@ Part 5 - Handling channel allocation
Allocating Channels Allocating Channels
------------------- -------------------
Channels are required to be configured prior to starting the test run. Channels do not need to be configured prior to starting a test run. Attempting
Attempting to run the test without configuring the channels will fail. to run the test without configuring the channels will result in testing any
channels that are available.
Example:: Example::
% echo 1 > /sys/module/dmatest/parameters/run % echo 1 > /sys/module/dmatest/parameters/run
dmatest: Could not start test, no channels configured dmatest: No channels configured, continue with any
Channels are registered using the "channel" parameter. Channels can be requested by their Channels are registered using the "channel" parameter. Channels can be requested by their
name, once requested, the channel is registered and a pending thread is added to the test list. name, once requested, the channel is registered and a pending thread is added to the test list.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册