Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2741243rwb; Fri, 20 Jan 2023 06:53:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1S2vaqmqIzs/JUkxvB0q4Kwfp4fSjmFh23z76OMvT6KrDLiO5J9H+RTJhMKrxqAB5rLos X-Received: by 2002:a17:907:8b87:b0:877:91b2:b11a with SMTP id tb7-20020a1709078b8700b0087791b2b11amr3606009ejc.76.1674226406699; Fri, 20 Jan 2023 06:53:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674226406; cv=none; d=google.com; s=arc-20160816; b=pBJUY8S70goXiOsWdCjoVr7AEd1nG8ViRcs6OASM1w9Zbv0eecUDRQU9X0XSp/zSbA jAdqDfGNq6UXpDvIKsjXS1zTxRo5Rks0sbW+G/HlSAOzXZXmtv7/Epd/XeP9uQhcNwpR HnHD2gWymCv9S3yFfO923m1lPmlQp+16hB9ZqLyF/1gE3lMXm9lrSn32hBIVzu5zHiB1 +bnk3Yd5SoqvotZ7pLfgbOh9cGlilYISNlni/YHo5bTihtDBLZM/EO4l/JIej5BiU6s7 NF1E+O8R7R8Fwpt1CXYKfJrUKUOasyzsg7kwtzrplv7oymGFhr5XPZIykFAvQrK0LQgi 6eWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=cmX1EHUwF34Gux/NlAhDbudn2g3zqBFUCXzH56cVgEE=; b=N1p6is08XCtT0ZWr/Gt8VcqViTo6AeLBJvnT10aeTNuKYZRNTW728ltmFTcI7rNKdq AORomXMU9PrXDQMCkHpBJIxcerPACo62FqcvD42S4H+AaNO6WUdyxRweOMduH4JW3Dm6 xbaoKdBhgSKomzuruK+rLl5mIRVAmCcvyjw93/5zlJ/ZR8Y2wrY5ymWfwap+Skuxqutt jpIfw1NhzEEKTYOUtZkPBF4DW15G5a2HwxAVEZeN/M5lIE4gH368jOYK3SlY2tFYmx9L cNYY3gBikOzT2AyAYcLi67IwgQJnQSH4en852LR5nuKgstTZNo3Z6azAgF25gm8F6XaA 9nTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020a05640251d300b00485220caa05si52851946edd.597.2023.01.20.06.53.14; Fri, 20 Jan 2023 06:53:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230281AbjATOfJ (ORCPT + 49 others); Fri, 20 Jan 2023 09:35:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjATOfI (ORCPT ); Fri, 20 Jan 2023 09:35:08 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1C9F172C36; Fri, 20 Jan 2023 06:34:47 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7092C14BF; Fri, 20 Jan 2023 06:35:28 -0800 (PST) Received: from e120937-lin (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E6CE53F67D; Fri, 20 Jan 2023 06:34:45 -0800 (PST) Date: Fri, 20 Jan 2023 14:34:39 +0000 From: Cristian Marussi To: Bagas Sanjaya Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Documentation , sudeep.holla@arm.com, Vincent Guittot Subject: Re: [PATCH] firmware: arm_scmi: Clarify Raw per-channel ABI documentation Message-ID: References: <20230120122326.1932614-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 20, 2023 at 07:43:30PM +0700, Bagas Sanjaya wrote: > [Also Cc: linux-doc list] > Sorry for missing the Cc but get_maintainer.pl did not say anything about this ABI docs patches. > On Fri, Jan 20, 2023 at 12:23:26PM +0000, Cristian Marussi wrote: > > diff --git a/Documentation/ABI/testing/debugfs-scmi-raw b/Documentation/ABI/testing/debugfs-scmi-raw > > index 5468ec08c084..b1c505ed444c 100644 > > --- a/Documentation/ABI/testing/debugfs-scmi-raw > > +++ b/Documentation/ABI/testing/debugfs-scmi-raw > > @@ -80,9 +80,13 @@ Description: SCMI Raw synchronous message injection/snooping facility; write > > Each write to the entry causes one command request to be built > > and sent while the replies are read back one message at time > > (receiving an EOF at each message boundary). > > + Channel identifier matches the SCMI protocol number which > > + has been associated with this transport channel in the DT > > + description, with Base protocol number 0x10 being the default > > + channel for this instance. > > s/Base/base/ > Thought that being an SCMI protocol name definitions would have to be capitalized. > > Note that these per-channel entries rooted at <..>/channels > > exist only if the transport is configured to have more than > > - one channel. > > + one default channel. > > Users: Debugging, any userspace test suite > > > > What: /sys/kernel/debug/scmi//raw/channels//message_async > > @@ -103,7 +107,11 @@ Description: SCMI Raw asynchronous message injection/snooping facility; write > > Each write to the entry causes one command request to be built > > and sent while the replies are read back one message at time > > (receiving an EOF at each message boundary). > > + Channel identifier matches the SCMI protocol number which > > + has been associated with this transport channel in the DT > > + description, with Base protocol number 0x10 being the default > > + channel for this instance. > > Same here. > > > Note that these per-channel entries rooted at <..>/channels > > exist only if the transport is configured to have more than > > - one channel. > > + one default channel. > > Users: Debugging, any userspace test suite > > Otherwise LGTM. > Thanks, Cristian