Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3685436pxb; Mon, 24 Jan 2022 15:19:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7k9IvOHqP1wtB6I6cjGla5xSadFxT+JQ256djXguEPwNUaZl8Xw2KOmdtNoMEW7zSscpd X-Received: by 2002:a17:902:d10a:b0:14b:4a73:8778 with SMTP id w10-20020a170902d10a00b0014b4a738778mr7588331plw.53.1643066348218; Mon, 24 Jan 2022 15:19:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643066348; cv=none; d=google.com; s=arc-20160816; b=wVvIs2imMv3aG2WWf8tspVO14ZOVWyUZlz937Seq9ubOitsoeoh05KqdypJWRcl2df 0Nt8PXkEE6eMma0++LqgeRH7C/qjLj4kngo670H0f+Zjx5te3m+FNVYN5HbucbUIJ1m7 JkzxJBhTDb+GAxbz6ncfj0TZIWmL21aHQy3GjSIaCMqQg++SUP26QSZ9TuQWetwmCRfN e5FFWVSztlm06M5ByO1htN+wSgAjRy6oZArW+WUin0wbS8tkCgPattsbKLoxJ3tOtpYL bpYpuRTLaZDmMrKOQH670rZrpaeF4qo+Uju1quxuJLSJphXK2am53E/e/oH9PkjFDTQE Yy1Q== 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=cxH+AZRjXrH5l9nwGCyNXmgdUMOW0IXK+bFG4MZcv48dAkKNh8NT1otktb3mKipB2p KmmKZWZpultz8qRQs+SiqGVuvPjf0T/fYsd5QizNKVMksttu1c17liDvpYB2JbkoPsGK bpKGrwQcgVdkasrwYvG3V8Xs5lvpHhWF4HtAXXmwg90HpAUwy7vLUwITpVzMlzUekOuT Ox0m98+DJTTQvHF87Hmc03Xf54nvl2Ft1QG465ZqlZcVLEOXcLGo7Ue6/6kFU8+GbpTn ttFWHm9+cAGaB4nnXaUtbT0wMtApf+xJ5oGbCFdF7UTGs9mdaHzKhsg4W7ZEwvPcKxym e3qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jzpaWpau; 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 ob1si714048pjb.8.2022.01.24.15.18.56; Mon, 24 Jan 2022 15:19:08 -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=jzpaWpau; 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 S1846814AbiAXXRH (ORCPT + 99 others); Mon, 24 Jan 2022 18:17:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1583206AbiAXWRY (ORCPT ); Mon, 24 Jan 2022 17:17:24 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC3F3C04A2EC; Mon, 24 Jan 2022 12:46:52 -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 ams.source.kernel.org (Postfix) with ESMTPS id 69F33B81243; Mon, 24 Jan 2022 20:46:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D242C340E5; Mon, 24 Jan 2022 20:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643057210; bh=Ss9cJ1xCoPXGKemzTHnuPgLOcrn/oCFFznA4VV3+pwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jzpaWpauw46rj8tsT2N84MSQVyO+aXm6ZYTLVsq2gRgZcO71cm8dujlbtiHBgBzU4 5egOqOIsFLqDYKnsk4JiQh/IkmopDNFChUIXKTx8QXHh+dXW68XjLCXOnO9LmH7I24 OlPpQDjBHHsmPgmeUR3sh/FqRYgvTxNOG5tBHck8= 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.15 737/846] Documentation: dmaengine: Correctly describe dmatest with channel unset Date: Mon, 24 Jan 2022 19:44:14 +0100 Message-Id: <20220124184126.419089840@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@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.