From patchwork Mon Jun 24 10:34:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 13709303 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 1F70BC2BD05 for ; Mon, 24 Jun 2024 10:35:22 +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:References:In-Reply-To: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:List-Owner; bh=dyQ6SQ3cvuXbdA4ZQLcM1g4xynEjZAlIF8FCjbOhhAY=; b=0PG+rlewZpIXicbtefA0J2AwQL jT56L2GhwGhmyITp7sEJNOqHOpaqKaURVXySFmgg9jRtW/oEb09N6WeP9ojlrTllQH3ZJFNeGSbDk /dv69cVxw70/XukEsRZQmDSfzf65B/SLpgiwZ/RMPOtfW6SlwKuWGZRFadg5O7bu/sWMdtYg9B2dL sohjptU2jFVSQpMyYwZJNdZnaLUEmz1nzYv++2M+mA8uU29p6khFfrwa27AJCqj/W2fJKfSM4hcsW hoZo/RN+m5HnA8+92VnLozsVCiiTvc9qKOzLWus2tXZ7EP5TQv8YVUpdzBqyVKYj9f1yuQbXn2h3k T6Bz9OfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLh2X-0000000GR6O-13PY; Mon, 24 Jun 2024 10:35:13 +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 1sLh2R-0000000GR5o-3WJd for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2024 10:35:09 +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 6F124DA7; Mon, 24 Jun 2024 03:35:29 -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 BB5B13F766; Mon, 24 Jun 2024 03:35:03 -0700 (PDT) From: Sudeep Holla To: ARM SoC Team , SoC Team , ALKML Cc: Sudeep Holla , Arnd Bergmann , Olof Johansson Subject: [GIT PULL][UPDATED] firmware: arm_ffa: Updates for v6.11 Date: Mon, 24 Jun 2024 11:34:49 +0100 Message-ID: <20240624103451.2870146-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240620093924.375244-1-sudeep.holla@arm.com> References: <20240620093924.375244-1-sudeep.holla@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240624_033508_017342_24A7C1F7 X-CRM114-Status: UNSURE ( 9.48 ) 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 ! This version is updated to drop the PSCI fix that was merged separately. Regards, Sudeep -->8 The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/ffa-updates-6.11 for you to fetch changes up to 18c250bd7ed0fc6917bad13560851ef0f519778d: firmware: arm_ffa: Split bus and driver into distinct modules (2024-05-29 23:23:25 +0100) ---------------------------------------------------------------- Arm FF-A driver updates for v6.11 The main addition is the split of bus and driver into distinct modules The FF-A bus module is initialized at subsys_initcall level when builtin. FF-A drivers initialization is now changed to module_init level so that pKVM ffa proxy is all setup and running in case pKVM hypervisor needs to trap and handle FF-A calls. One of the reason for not having this split from the beginning is the need to workaround the FF-A v1.0 NULL UUID. The FF-A bus layer called into FF-A driver and populated the device UUID if it matches with the driver attempting to match. Moving the workaround away from the FF-A bus layer to the FF-A core driver as a bus notifier will help to remove the dependency. ---------------------------------------------------------------- Sudeep Holla (2): firmware: arm_ffa: Move the FF-A v1.0 NULL UUID workaround to bus notifier firmware: arm_ffa: Split bus and driver into distinct modules drivers/firmware/arm_ffa/Makefile | 6 +++-- drivers/firmware/arm_ffa/bus.c | 22 ++++++++++----- drivers/firmware/arm_ffa/common.h | 2 -- drivers/firmware/arm_ffa/driver.c | 57 ++++++++++++++++++++++++++------------- 4 files changed, 58 insertions(+), 29 deletions(-)