Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3977732pxb; Tue, 25 Jan 2022 00:29:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWva5hsOjutJEaaugOFRZqtBaOlcnmc5Pa70AnrlPZ+RmbMSPbo9tHxoKO0xQPo2mIxPyd X-Received: by 2002:a63:6c8:: with SMTP id 191mr2929101pgg.349.1643099350961; Tue, 25 Jan 2022 00:29:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099350; cv=none; d=google.com; s=arc-20160816; b=A/dKaGWSqEYjnxB8XdpM1ITFupAa8RDWXwHS65dT+wmWrcskTph1u26hH5pUkUGjLz 6V/TjE1j5XHUEW9fYUZjCZnhgObV/Qiyw9C1RRd+MaXgxZZvhIwuWOjfH6cpjAhbt6jO 4hHNhwELNbL9K1Ur6DlhQebAZqrCOrhqEk249rSXk5B6EV9SwZkC0lKmrb1TpVFmycb5 dvsv/dv2Q1ROA/gZ+VUzfZmli3CtL7iO2ULPiL8zY8Mc3UGu71n6D56e1K78WskM3OQU BucLoYgOLUmV8lH/tPThUCoAmnFRDIdzXRU+k0zWHLwXDKT494z+is3oAuY1+H+gd+0q Eljw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9/0qBtfbJdFFinz27SmV1oXodecNPLAOhL5M8lMBIxw=; b=YU7OzuQlcle/xEXCuNKtX3w9G0n89hBYECy9F8YG85Bza24UIzJu8Z4eQFXv8FzEhn w52lOXP5ODNLOYBz0V20wWYlqwMonLNicwqPNYFMyqDonCKDDiV9/G4MqSiXOM8foZKB SainhctoLxdlKr4amqFzPBhpqPK0p916JGTtLnBsuv8Ty5zd7D7Z5RIkMF5xxKYh9aPq GV7mdv1ssCb1c+09WEVeHXcAL0vSdu7+aSLXOGs/3SaQ9kQEXEtG8XyGPZemkGQSP/mb iw6Rug3CMdc3CwYmmtK9SUumrC1GaCNSn6Ap+jz9vzY7IFwzmS+EsyHAii1rMhjdW734 6gyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WUD6ZmlJ; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si14903633plr.199.2022.01.25.00.28.59; Tue, 25 Jan 2022 00:29:10 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=WUD6ZmlJ; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3422909AbiAYCcX (ORCPT + 99 others); Mon, 24 Jan 2022 21:32:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355546AbiAXUWa (ORCPT ); Mon, 24 Jan 2022 15:22:30 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E85B2C0417CD; Mon, 24 Jan 2022 11:40:06 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 87DD66135E; Mon, 24 Jan 2022 19:40:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A815C340E5; Mon, 24 Jan 2022 19:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643053206; bh=Ss9cJ1xCoPXGKemzTHnuPgLOcrn/oCFFznA4VV3+pwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WUD6ZmlJtRmcwHo+Zd6D6EHzKzhWzoIYvjwBwqJWpf5ciP1IM8HP7y2zAtB4hSpn4 y+o5epPQ6MEGj4XDcOokDds2f+wls7rp+CvNePGkr4uwp9IE0kUrk9uITltufESj1h SOFwVPaG88/2X8EsTEYOXPMbbmTWOxa91mGApV5Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Thompson , Vinod Koul Subject: [PATCH 5.4 277/320] Documentation: dmaengine: Correctly describe dmatest with channel unset Date: Mon, 24 Jan 2022 19:44:21 +0100 Message-Id: <20220124184003.392558506@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183953.750177707@linuxfoundation.org> References: <20220124183953.750177707@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Thompson commit c61d7b2ef141abf81140756b45860a2306f395a2 upstream. 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 Link: https://lore.kernel.org/r/20211118100952.27268-3-daniel.thompson@linaro.org Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- Documentation/driver-api/dmaengine/dmatest.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/Documentation/driver-api/dmaengine/dmatest.rst +++ b/Documentation/driver-api/dmaengine/dmatest.rst @@ -143,13 +143,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.