From patchwork Mon Jan 8 12:34:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Marussi X-Patchwork-Id: 13513416 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 8E512C47079 for ; Mon, 8 Jan 2024 12:35:18 +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:Cc:To:MIME-Version:Message-Id:Date: Subject: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=uOPdASf95cafLTdJKUHQhMxaF96wd7K2NV6eTo4BJwE=; b=33wcjPG1sZFKnX +IWkyw7be/K3NgxfdhJotavBFefCkbXnEdqmanE7qT7TUPqVuGZ9PKzfv5IiL6g6O99kmb3fZ4zWk x5eQX4JExGnf78C9rvVyPAFuFobdiz2TeKj/waHIWiVlW+1qFLBFyuHKFpNaKESBfgwIFoZWj6s6N Zqtj1JWyawjM192R+V2u1yJnHc8Jk+tJjrS2IHwd6YnZm0+kx1dYvVspYMRwro+GBkSbZSBow9ZMy jJelASAu1iEmyv0tvfZamkN7USVzNUVlFlS+lM0ncDnC8bxi+wg9XtMaaqfLGC0BTCE5xvU16/8YV gY1uMKkBpR+gdTuY+b1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMoqB-0054SO-1W; Mon, 08 Jan 2024 12:34:51 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMoq8-0054PB-2d for linux-arm-kernel@lists.infradead.org; Mon, 08 Jan 2024 12:34:49 +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 1B9A5C15; Mon, 8 Jan 2024 04:35:32 -0800 (PST) Received: from [127.0.1.1] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7E7883F64C; Mon, 8 Jan 2024 04:34:45 -0800 (PST) From: Cristian Marussi Subject: [PATCH 0/6] Misc FFA fixes around init. Date: Mon, 08 Jan 2024 12:34:10 +0000 Message-Id: <20240108-ffa_fixes_6-8-v1-0-75bf7035bc50@arm.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMLrm2UC/w3LSwqAIBAA0KvErBsw+1BdJiYdc0AMHIogunsu3 +K9oFyEFdbmhcK3qJy5omsbcJHywSi+Gqyxg+nMjCHQFuRh3SackTz3wXlvx2WEenZSxr1QdrG ufKX0fT+NmXOEZAAAAA== To: Sudeep Holla Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Cristian Marussi X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_043448_916937_9950275B X-CRM114-Status: UNSURE ( 4.69 ) 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 A smalls set of fixes arounds FFA initialization routines. Signed-off-by: Cristian Marussi --- Cristian Marussi (6): firmware: arm_ffa: Add missing rwlock_init() firmware: arm_ffa: Add missing host rwlock_init() firmware: arm_ffa: Check xa_load() return value firmware: arm_ffa: Simplify ffa_partitions_cleanup() firmware: arm_ffa: Use xa_insert() and check for result firmware: arm_ffa: Handle partitions setup failures drivers/firmware/arm_ffa/driver.c | 85 ++++++++++++++++++++++++++------------- 1 file changed, 57 insertions(+), 28 deletions(-) --- base-commit: dd6de5552d8d59db58952cc6ae34a15267d0b437 change-id: 20240108-ffa_fixes_6-8-ade3fcdd2595 Best regards,