From patchwork Tue Oct 24 10:56:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 13434221 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 6484DC25B48 for ; Tue, 24 Oct 2023 10:57:04 +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=PBQHPDopVjDTOxRGeKlhUo6A7qv0dKUeNFYwG4Zqj7k=; b=11gHUoTBQteUgV 5I95px3WhsO35sUbSkuJUdo8AHuJki+rbA6WUmytGvM3n1FsFp0jrHsSL/E254WMnTpMwnOrXZYJN le4tsmneYmJ53pIAxGP7auCRtPccqp8J0fs10QhRf6JEX0E0G3cv4GsH+jmWBovtaD5NJoqeYWjjA l2icd6TB7cVW+aP/tx1lCC43BXEQhtZlcfLa5GQgVCEV4l8QQU/MohBaCdOIlhgOPm/ED3pJRsSs6 V8Eh1xmQRne/XS5NvePZl7nA9STmQkYn38YvU/xKWDUf/2M2/uaNcWJ6UqxL2TU+NJH1AvZFDuTMh R1PWcOVVYDGGhNQQy6bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvF5N-009bHu-1j; Tue, 24 Oct 2023 10:56:33 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvF5J-009bFM-3C for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 10:56:31 +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 DDF722F4; Tue, 24 Oct 2023 03:57:07 -0700 (PDT) Received: from e103737-lin.cambridge.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1CA1D3F64C; Tue, 24 Oct 2023 03:56:26 -0700 (PDT) From: Sudeep Holla Subject: [PATCH 0/4] firmware: arm_ffa: Few fixes for FF-A notification support Date: Tue, 24 Oct 2023 11:56:16 +0100 Message-Id: <20231024-ffa-notification-fixes-v1-0-d552c0ec260d@arm.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANKiN2UC/x2LMQqAMAwAvyKZDTRVB/2KOJSaaJZWWhFB/LvB8 bi7ByoX5QpT80DhS6vmZEBtA3EPaWPU1Ri88x0536NIwJRPFY3htBhFb644rkMUYuqIBWw+Cv/ C3nl53w+60xWBaAAAAA== To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Jens Wiklander , Coboy Chen , Lorenzo Pieralisi X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=981; i=sudeep.holla@arm.com; h=from:subject:message-id; bh=f0TnNwWuu8+hVREinfQjHgQiCfsqhzCfUIqVLO6bLGE=; b=owEBbQKS/ZANAwAIAQBBurwxfuKYAcsmYgBlN6LZt7oRl3heWQa6vJbNlxo5SgcY/EqS7Ts6c tls2J+M3c+JAjMEAAEIAB0WIQS6ceUSBvMeskPdk+EAQbq8MX7imAUCZTei2QAKCRAAQbq8MX7i mDHLD/9jEN0EdUL7ijZ3kS7SDgjA10+PmfU5pZBMu0Fg4roHXOsPy0x6WOf0hJ+3pirWIyhvV6y C+Uo2AF4tAw2UEKmwa3RB2ZoU5qR+8mVgEOmAzos5c60qOnZ50bpk5LcZPgLBJOLh++ZSR9LXFb wA7Xcn/tO+j+UfznFEmKvy0cdrFhvzbJmU2efKxKI4oyPR330Fbjy1PcnZTqkGGHawnhiFcqvhG MniQEMwbw9AnvheFcWBN6W6H+HwV8K5FPqgYVdvs9/AnoIY+1hNU2OJabJ4UEohW6tojLE+tQIM wo0f9eYy2i1uh4PnPYyTCMmMNYh0xp8gUEM7eiy3DW5BThAK+JgNMIETlRbm+fN3jGfsC0vrZgh 53mzBqqtGArbI6Qbk7BjfsNDuQb1dcN0l+krUZGG2gUsEu8fPwArV5aFkZe7tj3bqQq9aZL1V15 fzkLjwdvdWGveyoVP2P0rfA8A97ot5Q9NTRU6P6lOa+qKnOVGMriQMsKGVi8/J4KjWMePwFQ+uc u4XQOXxvmSTiZYQDgtWkCfLMWmLnwwUJvY2DzLp/w3JuZhgpubth+8Omn7iZGvUyZitn2BpnJzK UDldfCRF021R9JEfYRuj0iiH3e8L/28qWuaoT0bNKaJPtBAiTd/RSN+cgfZdmTUs/eoRCoaANg3 iyxS6nBi3wGmw4Q== X-Developer-Key: i=sudeep.holla@arm.com; a=openpgp; fpr=7360A21742ADF5A11767C1C139CFD4755FE2D5B4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_035630_096532_4CE4AA63 X-CRM114-Status: UNSURE ( 6.90 ) 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, These are set of small fixes around FF-A notification support that are currently queued in -next. It is mostly to take care of absence of the notification support in the firmware as well as allowing them to be optional and continue initialisation even when the notification fails. Regards, Sudeep Signed-off-by: Sudeep Holla Tested-by: Jens Wiklander --- Sudeep Holla (4): firmware: arm_ffa: Allow FF-A initialisation even when notification fails firmware: arm_ffa: Setup the partitions after the notification initialisation firmware: arm_ffa: Add checks for the notification enabled state firmware: arm_ffa: Fix FFA notifications cleanup path drivers/firmware/arm_ffa/driver.c | 65 ++++++++++++++++++++++++++------------- 1 file changed, 44 insertions(+), 21 deletions(-) --- base-commit: bcefd1bf63b1ec9bb08067021cf47f0fad96f395 change-id: 20231024-ffa-notification-fixes-9d5cf1e131ef Best regards,