From patchwork Mon Apr 17 14:57:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 13214175 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 3B540C77B76 for ; Mon, 17 Apr 2023 14:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nm4Y4E6lAK0fFw5yJ8A3zX6kQ2FpmkcfZh2g0Ome4OA=; b=LPzdttUBHgsIQb +XSDt14lz0f8dK9vAb/4Spn2t+mW2GHwGYxLndHgGqyT82Hqsl3jD71LcJIksq4dlMUXGBZT4Jb9m gwuSsHqM+u37pUta7F6RZVxOLIud8V1AjIId9dAEk9ijaMaS4XC+XrGhu+9ix5x+gELcPep9RdJZU Z2mWEXMAzSupisnWQk4LrsCrdJYb993yyny2+DGxXhsoxo5zCn9IgM+Hrbh+oa/zELadPRoXf6dqB rBqlnjJqUOgfiQfCYO2ewMCUluxA5SpLMQ8uJao14VoffODdaCfOsH4CS70gBvZWPf3FUkfrhw5iF r0zcxqWM9oWwR0m9+N1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poQIo-00GjJw-2m; Mon, 17 Apr 2023 14:57:58 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poQIl-00GjIF-1T for linux-arm-kernel@lists.infradead.org; Mon, 17 Apr 2023 14:57:56 +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 204A9168F; Mon, 17 Apr 2023 07:58:36 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6CBA23F6C4; Mon, 17 Apr 2023 07:57:51 -0700 (PDT) From: Sudeep Holla To: ARM SoC Team , SoC Team , ALKML Cc: Sudeep Holla , Arnd Bergmann , Cristian Marussi , Olof Johansson Subject: [GIT PULL] firmware: arm_scmi: Updates for v6.4 Date: Mon, 17 Apr 2023 15:57:43 +0100 Message-Id: <20230417145743.1904318-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230417_075755_537643_15FF4B88 X-CRM114-Status: UNSURE ( 8.39 ) 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 ARM SoC Team, Please pull ! Regards, Sudeep -->8 The following changes since commit d617808e3b8324eacebabefec49dc75536ee39cc: firmware: arm_scmi: Use the bitmap API to allocate bitmaps (2023-03-08 15:24:15 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-6.4 for you to fetch changes up to 9f68ff79ec2cb303f360a35eef5dd8f1f0f817e1: firmware: arm_scmi: Add support for unidirectional mailbox channels (2023-04-05 09:39:18 +0100) ---------------------------------------------------------------- Arm SCMI updates for v6.4 The main and only new addition this time around is the support for unidirectional mailbox channels. SCMI communicates between the agent and the platform using one bidirectional 'a2p' channel used by the agent to send SCMI commands and synchronously receive the related replies, and an optional 'p2a' unidirectional channel used to asynchronously receive delayed responses and notifications emitted from the platform. In order to support platforms that support only unidirectional mailbox hardware channels, the existing bindings are extended to support the same. Both bidirectional and unidirectional channels support for the SCMI mailbox can coexist. The correct and effective combination of defined 'mboxes' and 'shmem' descriptors determines the type of the mailbox channel. This also contains a fix for the transfers allocation on Rx channel especially when the base protocol doesn't use Rx channel while some of the protocols can have dedicated Rx channels. ---------------------------------------------------------------- Cristian Marussi (3): firmware: arm_scmi: Fix xfers allocation on Rx channel dt-bindings: firmware: arm,scmi: Support mailboxes unidirectional channels firmware: arm_scmi: Add support for unidirectional mailbox channels .../devicetree/bindings/firmware/arm,scmi.yaml | 48 ++++++++--- drivers/firmware/arm_scmi/driver.c | 2 +- drivers/firmware/arm_scmi/mailbox.c | 95 +++++++++++++++++++--- 3 files changed, 123 insertions(+), 22 deletions(-)