Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3973384pxb; Tue, 25 Jan 2022 00:21:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMEaA0VKNiZnSQD4ZwwGrP/q5yHwQzZdi3NWJhwfoREy0y0TRSHO7pYxmCXe1b39kPFdie X-Received: by 2002:a17:906:7cc9:: with SMTP id h9mr15333229ejp.111.1643098890474; Tue, 25 Jan 2022 00:21:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643098890; cv=none; d=google.com; s=arc-20160816; b=EniPteYof7Twme3JixtrI4GVuKIanI0lQL0RLcjxRVsuoqjIMiI7m5bisaRd1Zquiu GR0vrxq/aHOTRWN3rWrAZvwSC+utQkcpIPuf+fpX16hLDT6wsQQU5CgkVhrAfHg+zpj2 kNkuhPKfb+wVxSi2g1tk5baKbF//BD9DDYm3lnQJ2a+fIBh6JlSBE4Pxxx3ZPSZW8R37 ztMXmAPpvlWfFQCTsZgnpQfE5pp+F5ichN4SlNyp5KPGMoiK4A6TVeoTuo0gQ4aI4Lfs x/BYIx7bMK1A+Aeeg8mjN4+MLt2UxNjpqao62a+nnwRUzjArGVKhnsY3ELl8tClo9FcD i+gQ== 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=G3dvfoza3+894OwAtkISb8+tHApFv2QQrLkJJ7pKNiTOYX3KDDRz+J26x2o24osqBJ FN4RpqKRzJL4ILcBx6xC/uERFW7jY81+qHBgXsoL+jZq7CzJiuci9zH5ExTzM8m0mL/V qFUiIcZxSXxxh/MDSAsTKa9Q+/pPZZcNYLQxC8jokrakhfyVTFW/6uEd1jtbc8iIU6yy eJQq4PaoKlAbKFBz8/ZGGRp1AmUTcnomLOh1W7yFkKpOlMfz+mGg41fyGLIu7YZ1DfB6 4jaly5cX1ZGD1x2wEez8Us5qFA6rb91fmd7rx2kfFdPHQTScZ7/NK37hC7uffK5A/c3H PwGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=njEzyAmW; 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 g2si10187260ejt.922.2022.01.25.00.21.05; Tue, 25 Jan 2022 00:21:30 -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=njEzyAmW; 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 S3412992AbiAYAiH (ORCPT + 99 others); Mon, 24 Jan 2022 19:38:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2363969AbiAXXq1 (ORCPT ); Mon, 24 Jan 2022 18:46:27 -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 BB619C0BD12C; Mon, 24 Jan 2022 13:40:28 -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 5A6CB6150C; Mon, 24 Jan 2022 21:40:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D35CC340E4; Mon, 24 Jan 2022 21:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060427; bh=Ss9cJ1xCoPXGKemzTHnuPgLOcrn/oCFFznA4VV3+pwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=njEzyAmWujt4QL+AHE7KThXJMlQ0xCsokcX73JfYIwhcWb29zbi5kaBJEMhkuunIL LOgesxLSGiwXFH2mqvOIZIB6asJ1IeOf3ji8Ftkr+gFCJrIQCCSzx48lAgCxUdPncJ tEc1D9UYJPY9kjEK+jV8Si4lVxmnTT8ufapgGFFE= 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.16 0911/1039] Documentation: dmaengine: Correctly describe dmatest with channel unset Date: Mon, 24 Jan 2022 19:45:00 +0100 Message-Id: <20220124184155.927905050@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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.