Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1343700pxk; Fri, 18 Sep 2020 09:56:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl5uz2U8N2LDQ64VFGIdq+QmpoeQXLTbXYuWgNGe68r7r2SDJJKqXCpbeAaphyspe+U1Mu X-Received: by 2002:a17:906:692:: with SMTP id u18mr36560974ejb.43.1600448164184; Fri, 18 Sep 2020 09:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600448164; cv=none; d=google.com; s=arc-20160816; b=kTmywN/GjHjkwF36NZ+j6loVAeKscDQbG3fJsygD+9MYFt2cp4G4p3PchZcEmjJehW 52o2+lBxb8pCHC6kw+8Da5mi1AYWc7ejzEIVRS0HZtjIwE+5SUqGydUIK9gtHR2fq7OF lMpIt9YHZ5NHITNqVwgLS9IgLAq4Jshry3pB96eBW5UAqW+FAD6i+OJ43PuaoEfiOzZP DF3L/sbZGGODZuqsv72I94s37jTuNTLnB5sYevyYyCbwBfsoyGqU9nwHkaVqHVwkuf/P WA24rNH+Zs1Ob6X9TZTsn9D0ff355Otx5JDX99ORbyEb20NENkjymEwwuTUE0XOGFdsP PHvg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=K025+nBlWhYUaUzb2xd/oJdec6qIgoERuU4RJgWwpJo=; b=blski/BT12OfqZhdLljfNWWWzMmclhEjD4TijvsG3zjL5fNvAVWoERMwD3PpOxVgzZ WC63rAX2G41TtX4iRgfjX1Y/OuTKzo5VvEajCE2SCUEF2iBk6Kl/k/nBsY4xH0I+UNba frwfFlG7GMUi9H8b9JCJtfke4TadpVsBudy/u4Om1imgMhIDPttUZos5uExACtr4g/LP eysi23gCImglL+kUWDdC6gb+wMNUkPxNvhw75Vl8rYBX9bPJjor3aDhMmsHz4Rj1ZJPN BE//ctbJYa05zhgHnhZ6sSUd1TCcGsV9y7XD636EzFGqMLxeWPFsDsmhhmTrb1jkLq0U 9LMg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si2629569ejt.170.2020.09.18.09.55.40; Fri, 18 Sep 2020 09:56:04 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726308AbgIRQx4 (ORCPT + 99 others); Fri, 18 Sep 2020 12:53:56 -0400 Received: from plasma31.jpberlin.de ([80.241.56.82]:16853 "EHLO plasma31.jpberlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbgIRQx4 (ORCPT ); Fri, 18 Sep 2020 12:53:56 -0400 Received: from spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) by plasma.jpberlin.de (Postfix) with ESMTP id 6AADA10155D; Fri, 18 Sep 2020 18:53:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from plasma.jpberlin.de ([80.241.56.76]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id q5yVNH_U4n5l; Fri, 18 Sep 2020 18:53:50 +0200 (CEST) Received: from webmail.opensynergy.com (unknown [217.66.60.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.opensynergy.com", Issuer "Starfield Secure Certificate Authority - G2" (not verified)) (Authenticated sender: opensynergy@jpberlin.de) by plasma.jpberlin.de (Postfix) with ESMTPSA id 6ED8A100F02; Fri, 18 Sep 2020 18:53:50 +0200 (CEST) From: Peter Hilber To: , CC: Rob Herring , , , , , , , , , Peter Hilber Subject: [RFC PATCH 2/7] firmware: arm_scmi: Document that max_msg is a per channel type limit Date: Fri, 18 Sep 2020 18:52:51 +0200 Message-ID: <20200918165251.256802-1-peter.hilber@opensynergy.com> In-Reply-To: <20200918162311.254564-1-peter.hilber@opensynergy.com> References: <20200918162311.254564-1-peter.hilber@opensynergy.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: SR-MAIL-01.open-synergy.com (10.26.10.21) To SR-MAIL-01.open-synergy.com (10.26.10.21) X-MBO-SPAM-Probability: X-Rspamd-Score: -1.83 / 15.00 / 15.00 X-Rspamd-Queue-Id: 6AADA10155D X-Rspamd-UID: 4de0b1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Igor Skalkin 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 Signed-off-by: Peter Hilber Signed-off-by: Igor Skalkin --- 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