Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3593787pxb; Mon, 24 Jan 2022 13:04:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeMAOCNbRHKMR0B6vl/r1e1wYE8Uc+Gw6rENUqH8hvipwlAgBXQ/GcLF9dGaq21gDcQ88b X-Received: by 2002:a17:90b:1d06:: with SMTP id on6mr196527pjb.6.1643058270665; Mon, 24 Jan 2022 13:04:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643058270; cv=none; d=google.com; s=arc-20160816; b=trS71ghv6DA+8LGpxuw2vhGGs/iHDrLhivXCpgR+EJesfcpWvKnyE7Ax/ASx7UDbNu jCVhzPpt+TFT+aCgeTX9EM1ynaQxTm/V4LFYvr/NG32pifNn8CgiOjtjorb1CEJ9Y9Wr 2e/4AF/s6fqLJRhorYVZaT1Ta0vFq5Ik5BpQoDHoC24ljdu+JURuFspMkwlPDiPWmns0 OG0IcwVQ2IvUNpjL8OISqjz6LCaDDnPY46S0Sket2RaxxRuOyIczrzg4C3NxFUSXPGSZ Wp7JxZQZALwqMawEq2VbwXYWZ/WCCA+zWZHz4atsT43qwRMwCBikFD5+AByyJvzwTu4t 2Bhw== 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=SXzWaUrkvjmSugP955Hh6Lw1QYBsz5Zle0bOZG9poY4tD5lNhJQhQnm9mDefd8t0JR VaPyh3Hr652hcxtOv2fqedThXmFYcK4N1QV6t5nO48jIi9GhloxG0akPG7pk7Vw7P1Bo PQp9ZIbYKGINjeCY/L6jGw8r8ZzNOvziCJAKzVD8PeBobWf5a9lSjiMl6oWA8VT1wBS+ ErMTAc0eAMEcOyyCZdovFu5XV3vW9+GgfHWzIqHCf03cZD06xZv39LYoP9WM1YQHXtre lHXBuoA92pz3QZfYqx5Mdf98b2JR5raLLAtssHVdB09/HAoZsh6rC9GDpYcGIgKIV0Ir wtKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LObD8Lfa; 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 n2si13350196pgl.562.2022.01.24.13.04.18; Mon, 24 Jan 2022 13:04: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=LObD8Lfa; 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 S1383916AbiAXU2A (ORCPT + 99 others); Mon, 24 Jan 2022 15:28:00 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:33340 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377747AbiAXUF4 (ORCPT ); Mon, 24 Jan 2022 15:05:56 -0500 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 BA69460916; Mon, 24 Jan 2022 20:05:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A102FC340E5; Mon, 24 Jan 2022 20:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643054755; bh=Ss9cJ1xCoPXGKemzTHnuPgLOcrn/oCFFznA4VV3+pwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LObD8LfaJOaUMZgjtopaJzvYL5DbZU2S/dMTveAA7u+HoLdzhHG7iBLG/BN6PNSZW 3fd3mLtcDh0zR83X5fzx7F+fwSTIxORHu7boaalVbF0yX5sGJ5hylo0w2Qkg1BlHbs G7EvDIkGdEqXixzSJtCPzDFXmZUJlAexfugIyTC8= 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.10 491/563] Documentation: dmaengine: Correctly describe dmatest with channel unset Date: Mon, 24 Jan 2022 19:44:16 +0100 Message-Id: <20220124184041.427860925@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184024.407936072@linuxfoundation.org> References: <20220124184024.407936072@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.