From patchwork Thu Jun 20 09:39:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 13705037 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 E0208C27C79 for ; Thu, 20 Jun 2024 09:39:52 +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=U+IrZXdmI2VhXtTeREkM9CN81CapvepYudPnIFRbCB4=; b=aS6qV+LPDXzgl52xpqpGVPswqQ maAo093E6adso79s9zf5XXShTUO3MQmRzrakzaCzhMt6ZMb/kSVxrzuvIRpl6Jzns6j99sMROLFEc ltxZLW2eNXz2R16w9xwynV5EtzjV2ZV+ZLLozHcsWzS9GEej7ciV5OeR/Ze+mRtCm0EKrjn/tvpBf pHNf9bUTy66VB7Ob9NN+ah6lWhZ2jPd7GYKxiGd3FX2idfSS5JFmZRhBhaTqzE5igWQOGm6bkmBiM edurzqxZAhL4ZhLlYqdipnP7jlqb0LpUgjgDmqxvhKzoPd1bQ/kWm8bjtBy//fTPm5UUrf8QBAKyJ GjOI3w8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKEGa-00000004PyD-3Msf; Thu, 20 Jun 2024 09:39:41 +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 1sKEGX-00000004PxR-35tc for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 09:39:39 +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 BE20FDA7; Thu, 20 Jun 2024 02:40:00 -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 EDED93F6A8; Thu, 20 Jun 2024 02:39:34 -0700 (PDT) From: Sudeep Holla To: ARM SoC Team , SoC Team , ALKML Cc: Sudeep Holla , Arnd Bergmann , Olof Johansson Subject: [GIT PULL] firmware: arm_ffa: Updates for v6.11 Date: Thu, 20 Jun 2024 10:39:17 +0100 Message-ID: <20240620093924.375244-1-sudeep.holla@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-20240620_023937_843411_5A6E492A X-CRM114-Status: UNSURE ( 9.99 ) 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 ! As mentioned in tha tag there is one PSCI fix that kept missing for few months now, so have included it here. 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 f624c7cbd155ef5787f8bf06c1208f45353d24ec: firmware: psci: Fix return value from psci_system_suspend() (2024-06-17 11:02:42 +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. Also, there is one fix to handle the return value from psci_system_suspend() correctly. ---------------------------------------------------------------- Sudeep Holla (3): 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 firmware: psci: Fix return value from psci_system_suspend() 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 ++++++++++++++++++++++++++------------- drivers/firmware/psci/psci.c | 4 ++- 5 files changed, 61 insertions(+), 30 deletions(-)