Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA776C433F5 for ; Thu, 18 Nov 2021 10:12:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D331B61B73 for ; Thu, 18 Nov 2021 10:12:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245733AbhKRKPI (ORCPT ); Thu, 18 Nov 2021 05:15:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245445AbhKRKNJ (ORCPT ); Thu, 18 Nov 2021 05:13:09 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58680C061204 for ; Thu, 18 Nov 2021 02:10:09 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id o29so4771996wms.2 for ; Thu, 18 Nov 2021 02:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mSWch0XGdw9WQfitAuDG0nGa0+fWKH7MnIQOOP6eHa0=; b=mhwGrcez7SQFjrLcUMtrR3wacB+60WOedOKv1UMCuLk1SLgWtQ4PXv8wCS+CQf0kIn sNol+rWyJF5bQibbwEjUu5q7LWitxlip7qjz07FN335WBidXTapsTzuPnXtLyKWtxhPi JnMZRkl00cG0PN8Ycu6vLAWcIqjfFLOdAjRjVMYROBGhmjgETUyGDM/LOEI91+dO5loG qKeym2w1biDZmapDPmpSGppg/VmbyWIoHBD3DqR+FVBI0OesgQaQ0SaNZntCu+LCGKcp Jo4h44c99aHXB/lHwPXrbzooLIoVE706L+k7zvkOpl3U0OlCJtiCr3nHPOgMrh1mQxV1 Kfrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mSWch0XGdw9WQfitAuDG0nGa0+fWKH7MnIQOOP6eHa0=; b=2rS95AgHNHdneA1Yz5QyY+UYYmgfs/HGXunC7Caet75ceP8ya9m9jF++j2PnwXKWkr JPOK2z2Ec9oQayznJj/qWiwxs9mxvgQqf1kWQzy5eb0iyp9nRrPZZWlG+kTmszCsz97d mWos/mFkZBAXL1A728TUSaBM07sVBis3ANN6c3aTuTsLnmzr4JO6AAIaP++6y9ENfU8E Mp89Oj67+CzcSyjTSeMt2TM1hYIRR8pRVaXPf7cX+CBksjBErAD0I+rykt5T9+17Vkvl lM3yqeCvSW09sM+GtvhIzS5/kuHi0VG8C2f6Gu/5snhb+PSAWshTcD4NQMjmY91HSFIF CSww== X-Gm-Message-State: AOAM531OlOWalYQwBTqCKPJO676v/Ra6xNm+WOUZDpWs6+TwxIkWSE3K K2yX26ootrnzJv31xjTi8BAcIg== X-Google-Smtp-Source: ABdhPJwmQzBp0qtPSPyB7UjYy4JS90aVhF5fASBfXtrnRETwo038+eyorpDtUHvPdbLFf2JhN5T10Q== X-Received: by 2002:a05:600c:2118:: with SMTP id u24mr8389385wml.0.1637230207856; Thu, 18 Nov 2021 02:10:07 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id z15sm2525846wrr.65.2021.11.18.02.10.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 02:10:07 -0800 (PST) From: Daniel Thompson To: Vinod Koul , Jonathan Corbet Cc: Daniel Thompson , Andy Shevchenko , dmaengine@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, patches@linaro.org Subject: [PATCH 2/2] Documentation: dmaengine: Correctly describe dmatest with channel unset Date: Thu, 18 Nov 2021 10:09:52 +0000 Message-Id: <20211118100952.27268-3-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211118100952.27268-1-daniel.thompson@linaro.org> References: <20211118100952.27268-1-daniel.thompson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently the documentation states that channels must be configured before running the dmatest. This has not been true since commit 6b41030fdc79 ("dmaengine: dmatest: Restore default for channel"). Fix accordingly. Fixes: 6b41030fdc79 ("dmaengine: dmatest: Restore default for channel") Signed-off-by: Daniel Thompson --- Documentation/driver-api/dmaengine/dmatest.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/driver-api/dmaengine/dmatest.rst b/Documentation/driver-api/dmaengine/dmatest.rst index 529cc2cbbb1b..cf9859cd0b43 100644 --- a/Documentation/driver-api/dmaengine/dmatest.rst +++ b/Documentation/driver-api/dmaengine/dmatest.rst @@ -153,13 +153,14 @@ Part 5 - Handling channel allocation Allocating Channels ------------------- -Channels are required to be configured prior to starting the test run. -Attempting to run the test without configuring the channels will fail. +Channels do not need to be configured prior to starting a test run. Attempting +to run the test without configuring the channels will result in testing any +channels that are available. Example:: % 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 name, once requested, the channel is registered and a pending thread is added to the test list. -- 2.33.0