Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp545173pxb; Wed, 18 Aug 2021 08:15:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeOic/JgcWxzq7E7RMrjOVbUbgamsrgHvngdmVI2VegxotPosKQs3LnI3qcM8oPZdRdi7K X-Received: by 2002:a5d:928c:: with SMTP id s12mr7393186iom.151.1629299747584; Wed, 18 Aug 2021 08:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629299747; cv=none; d=google.com; s=arc-20160816; b=0NO6ZZyL1F2XYVWbQWqRJV31tFqLwCRcmhGkzam26iBcgkN9/MiLhaX28BO60mAX0r XW+N769UoWxN9cu1i2WYHYXKyhxJx+jnaujmpF8MapVNrrao/NCw5VeO19BW1ZKIQaMH LjqE1dSrzYwk1Ed6uDDp76P3n16YxiiPBvFjM6cf4WYbXi/Fc800N0KMx/cjEuzHfFCO 3yZk1K+YSHOLPVOJVj6GF5HQmFPCQpk+bqSKfq1g3X1S4n8UKhPymFajwUGUMww9BNXS vUGFJv5s9rQLu3qB0TSs7ei/6b4kXtIH2aClj15pKXIJ2n5GaHpbEgVZWDxurvjWfr/1 dFEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Da0DCFGolB9uAM2tKDPuHVOlQ6ovhGIdi2wnEJL3jXc=; b=TVhRomA7EkukaHp1ckZIzqVsZwLezb9+QbZEo1cnPp4cqpJknNMIrRTa0u8aIzztdY P+37Zuq0gOWH2Xo8y4u4oyPuskrGmRr+BaprSa3T05qF7d42whmKpD4Fb0cKrU8RBEEN 4oFsaMlwLXK1LiXYFpoLxJnpChaDbj3qk+7Bht/2+BG9yrxZjsej3nBtY5/oxPjOurUZ 8w4axsagvPAlhlPlFrc0K2dxj+C/SJHEoIWEARzTcqMAIQZSi5zYoWJi4OP5I0MDZwJ/ piZUu9S3h7BvJuNzgGfJlAn/NwSS9Gv2D7ntro9wAC4UqbW52VVgGHRDg9PFCSxjzzlx MJLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JqZOf7zX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si5238065jaj.115.2021.08.18.08.15.35; Wed, 18 Aug 2021 08:15:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JqZOf7zX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239697AbhHRPOv (ORCPT + 99 others); Wed, 18 Aug 2021 11:14:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239866AbhHRPOr (ORCPT ); Wed, 18 Aug 2021 11:14:47 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83F4AC0613CF for ; Wed, 18 Aug 2021 08:14:12 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id w24so1847913wmi.5 for ; Wed, 18 Aug 2021 08:14:12 -0700 (PDT) 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=Da0DCFGolB9uAM2tKDPuHVOlQ6ovhGIdi2wnEJL3jXc=; b=JqZOf7zXT9L88sx2XhatvSar77vpGtprbyBun1lpZtJkBsF+4ehXeieZmHzpi9PLaS vnfRTYvY4mLwIWtikv3stTQ73/K8xZZ7i665vDbr0iKXPrKEiUjNRKf1aFOcmJLD6pJe t8OKIH6jT3o8Vo7Lzt5QlglKpxiKeJTMDtMdU9Piaz7txTB1P+PrgxbU9Hv25TvZh39P HAXJM0cwfE1AEtLDilFWuBp4BjpdqBiOi+Y6/Hwh+aW4loV+2i7cSC3VA47moIWgppLR /wRH8qbEZQl2uMvS+eTwmm6zsxfjZJM6QKry80ezpD5cXAoOgL01r3zghpua9u9SFoKq ijNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Da0DCFGolB9uAM2tKDPuHVOlQ6ovhGIdi2wnEJL3jXc=; b=jbgpgoL5DcrNwn6pYUB51XipsxNJn8JUi2Q/B7jKKi8un0ALjmwerNMeXeM96Wo5PE Gzldhz2EeKxQb6h1UI64IyDjj/JTe48TP/3GG8+pfHXnyz/Ks/MCzxvI7M0AEARsmzQO qqxcBTKnxWKcJByFTLgeItOhDLEYls/QLJULlIeD0V4CcqvNAOw8tNFxfl77sOpfkCx1 LdaE45MWMsupNOzrq9VfAzpWMqmGY3xN+JwPtO8nDaDqtgTDd+ANtfl5g3DhP7L2FrrG pArXtebRexcOoAwBdXN6cwZN/3xSop8Ya58hrjX4/6uWQwWkGCo8f1jC21sXIAkS/6CX pjlA== X-Gm-Message-State: AOAM532IFefOxsP/d9myqXAha6y5Y+O75BoMnvXBi1/VAFZUvu48Pnz7 BFcKciJm8zUEumu9Sqgri907YYwge3ut5PGN X-Received: by 2002:a1c:4a:: with SMTP id 71mr9102711wma.87.1629299640460; Wed, 18 Aug 2021 08:14:00 -0700 (PDT) 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 l21sm101829wmh.31.2021.08.18.08.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 08:14:00 -0700 (PDT) From: Daniel Thompson To: Vinod Koul , Jonathan Corbet Cc: Daniel Thompson , 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: Wed, 18 Aug 2021 16:13:15 +0100 Message-Id: <20210818151315.9505-3-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210818151315.9505-1-daniel.thompson@linaro.org> References: <20210818151315.9505-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.30.2