From patchwork Tue Jul 30 14:47:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Marussi X-Patchwork-Id: 13747501 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE73CC3DA70 for ; Tue, 30 Jul 2024 14:48:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=96ZzXPa/dY0OtsbafxMBGsOwso5bvH5sxFhyWUEoNO4=; b=cFQSwxEIlmEvEOknKeoPdsGpEw OjVwsYIjSMhHCn7Jd7SwgynQBPR8eDzU3kVCI52+3MzYSWckzBqU76D8Yz7o41X8QSSpGSGLFgfHR DU5y9bIxIfh6gb0ACKWElCFnvg+CTdHIwIySdYknE7O2R04w3/rWR9bNo/5SylkXYYL4/UEtKR+RC mSSkJw73pu8hmCl1OOdh95otWhhWi3vi7f4ECUFOQsDkNWW0hjmKzC0vkFLKyoZLpwEivyZU2m/Yp HVJZJZKxYjnN6SxaeZhYn6c6tJFQyIHUJHbQNTT3bpYJCs8CeU3n+u2i3D3G95vlLme5QgoLXE1mQ y9Qg2Ieg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYo9R-0000000FWLx-2lqJ; Tue, 30 Jul 2024 14:48:33 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYo8n-0000000FW8B-2xD1 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jul 2024 14:47:55 +0000 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 717921007; Tue, 30 Jul 2024 07:48:18 -0700 (PDT) Received: from pluto.guestnet.cambridge.arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 01B4D3F766; Tue, 30 Jul 2024 07:47:49 -0700 (PDT) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm-scmi@vger.kernel.org, devicetree@vger.kernel.org Cc: sudeep.holla@arm.com, james.quinlan@broadcom.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, etienne.carriere@st.com, peng.fan@oss.nxp.com, michal.simek@amd.com, quic_sibis@quicinc.com, quic_nkela@quicinc.com, dan.carpenter@linaro.org, souvik.chakravarty@arm.com, robh@kernel.org, krzk+dt@kernel.org, Cristian Marussi Subject: [PATCH v1 0/6] Add SCMI transport descriptors Date: Tue, 30 Jul 2024 15:47:01 +0100 Message-ID: <20240730144707.1647025-1-cristian.marussi@arm.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240730_074753_804905_4F1564FF X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, this small series is an extended version of this recent, already reviewed, series [1] posted by Peng to add a new arm,scmi property to describe some platform-specific SCMI timeout constraints. On top of that, this adds 2 more properties to describe a couple more platform-specific transport characteristics. To minimize conflicts, the whole series is based on top of another recent series, which represents a rework of the core SCMI stack to split SCMI transports as standalone drivers. [2] Thanks, Cristian [1]: https://lore.kernel.org/linux-arm-kernel/20240709140957.3171255-1-peng.fan@oss.nxp.com/ [2]: https://lore.kernel.org/linux-arm-kernel/20240730133318.1573765-1-cristian.marussi@arm.com/T/#t Tested-by: Peng Fan #i.MX95 19x19 EVK --- Cristian Marussi (5): firmware: arm_scmi: Remove const from transport descriptors firmware: arm_scmi: Use max-rx-timeout-ms from devicetree dt-bindings: firmware: arm,scmi: Introduce more transport properties firmware: arm_scmi: Use max_msg and max_msg_size from devicetree firmware: arm_scmi: Relocate atomic_threshold to scmi_desc Peng Fan (1): dt-bindings: firmware: arm,scmi: Introduce property max-rx-timeout-ms .../bindings/firmware/arm,scmi.yaml | 22 +++++++++ drivers/firmware/arm_scmi/common.h | 9 +++- drivers/firmware/arm_scmi/driver.c | 46 ++++++++++++------- .../arm_scmi/scmi_transport_mailbox.c | 2 +- .../firmware/arm_scmi/scmi_transport_optee.c | 2 +- .../firmware/arm_scmi/scmi_transport_smc.c | 2 +- .../firmware/arm_scmi/scmi_transport_virtio.c | 2 +- 7 files changed, 64 insertions(+), 21 deletions(-)