Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2550561rwb; Fri, 20 Jan 2023 04:33:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXtx39BMCT3Kfw0Kx+ObuMw26ZfnMnuIY23wbCfxQWLduuDZPhP8jNTYkMuQcp2kwh2uB7j+ X-Received: by 2002:a17:906:3f87:b0:844:d342:3566 with SMTP id b7-20020a1709063f8700b00844d3423566mr14493621ejj.22.1674218019543; Fri, 20 Jan 2023 04:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674218019; cv=none; d=google.com; s=arc-20160816; b=kup6UEiAOyaCsatCT7Y/MRsoF46quQTdMh1AclAaNy1e4tmO61yH6QXi3hxrX8kGPc yVYzbYKBIrB8/pcF1gtYMSDjjPnnCjtvoH4wYdELIID8z0ZJrhzBKCTxzmq8sFKqWaCr vDm5gH1Ng3La/SKqSCT4ChP+ynWuf9GEcN3o77MG6MUOK0kBPCulwULWIWQRjLjktdky HfzkXR/l9sKgCYSHRKrza3oTOdsibPjLLp2bHC1tanzoEi9aTFi39daWeS7yUcQvOvc5 16ptZDPG43lR3OTsjH9hj7QFr0ROko4iRl9u3S2wEqSdiRj4O61yjm6bTEBBUDtpRiMz MvKg== 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 :message-id:date:subject:cc:to:from; bh=nOJ0N+dtYT72ysYhHxis376UZzM58uD0TtOOhHCFADM=; b=tlkZkUpxnEYqH0cIy2llWq6WmElkpPIDZTOaWLSUr6qShZD7eyWI40wIhgRqeUOcUu Z9nqyhaE58NwZZwh2JfNgiMFfrLmMaT+fF8MTNactdJf0rLSYuqxKyaPbBYkiXIkCaD2 BsocuD2f0GbNkcwitRSuiUIwH59N4Xr5pUXfX4+prH+pYISJ7alfT0kVYztI9YWsOtxa NZD0eSDzJTazyxPLey2mxdYJIK37rqe4LddT+9EzIfO/uyXpsM7RS2jj69DcFbNn3IrG 5WV5J+mHyH6RQ9LAJ3vTjercgQBKAwpFKbArJKrAmqjXaicdzsDHrQaJHkhhDI9Ig7IZ NNeg== 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 l12-20020a170906794c00b008722dfb9f4bsi14816500ejo.726.2023.01.20.04.33.26; Fri, 20 Jan 2023 04:33:39 -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 S229637AbjATMXz (ORCPT + 49 others); Fri, 20 Jan 2023 07:23:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbjATMXx (ORCPT ); Fri, 20 Jan 2023 07:23:53 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F02B07DFBD for ; Fri, 20 Jan 2023 04:23:51 -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 5277814BF; Fri, 20 Jan 2023 04:24:33 -0800 (PST) Received: from e120937-lin.. (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E73EF3F71A; Fri, 20 Jan 2023 04:23:50 -0800 (PST) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, Cristian Marussi , Vincent Guittot Subject: [PATCH] firmware: arm_scmi: Clarify Raw per-channel ABI documentation Date: Fri, 20 Jan 2023 12:23:26 +0000 Message-Id: <20230120122326.1932614-1-cristian.marussi@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Explain more in detail how the per-channel identifier is chosen. Suggested-by: Vincent Guittot Signed-off-by: Cristian Marussi --- Documentation/ABI/testing/debugfs-scmi-raw | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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. 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. 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 -- 2.34.1