[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200918165251.256802-1-peter.hilber@opensynergy.com>
Date: Fri, 18 Sep 2020 18:52:51 +0200
From: Peter Hilber <peter.hilber@...nsynergy.com>
To: <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>
CC: Rob Herring <robh+dt@...nel.org>, <linux-kernel@...r.kernel.org>,
<sudeep.holla@....com>, <souvik.chakravarty@....com>,
<alex.bennee@...aro.org>, <jean-philippe@...aro.org>,
<igor.skalkin@...nsynergy.com>, <mikhail.golubev@...nsynergy.com>,
<anton.yakovlev@...nsynergy.com>,
Peter Hilber <peter.hilber@...nsynergy.com>
Subject: [RFC PATCH 2/7] firmware: arm_scmi: Document that max_msg is a per channel type limit
From: Igor Skalkin <igor.skalkin@...nsynergy.com>
struct scmi_desc.max_msg specifies a limit for the pending messages.
This limit is a per SCMI channel type (tx, rx) limit. State that
explicitly in the inline documentation. The following patch will add an
op to override the limit per channel type.
Co-developed-by: Peter Hilber <peter.hilber@...nsynergy.com>
Signed-off-by: Peter Hilber <peter.hilber@...nsynergy.com>
Signed-off-by: Igor Skalkin <igor.skalkin@...nsynergy.com>
---
drivers/firmware/arm_scmi/common.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h
index 36c38334a045..4cc78eb27f14 100644
--- a/drivers/firmware/arm_scmi/common.h
+++ b/drivers/firmware/arm_scmi/common.h
@@ -229,8 +229,8 @@ struct scmi_transport_ops {
*
* @ops: Pointer to the transport specific ops structure
* @max_rx_timeout_ms: Timeout for communication with SoC (in Milliseconds)
- * @max_msg: Maximum number of messages that can be pending
- * simultaneously in the system
+ * @max_msg: Maximum number of messages for a channel type (tx or rx) that can
+ * be pending simultaneously in the system
* @max_msg_size: Maximum size of data per message that can be handled.
*/
struct scmi_desc {
--
2.25.1
Powered by blists - more mailing lists