From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ABB66D4336D for ; Thu, 7 Nov 2024 15:33:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EA15888AE8; Thu, 7 Nov 2024 16:33:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 804D988AE8; Thu, 7 Nov 2024 16:33:24 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 298B28878A for ; Thu, 7 Nov 2024 16:33:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=abdellatif.elkhlifi@arm.com 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 63EDA497; Thu, 7 Nov 2024 07:33:51 -0800 (PST) Received: from e130802.arm.com (unknown [10.57.88.125]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 854CB3F66E; Thu, 7 Nov 2024 07:33:20 -0800 (PST) Date: Thu, 7 Nov 2024 15:33:11 +0000 From: Abdellatif El Khlifi To: Simon Glass , Tom Rini Cc: u-boot@lists.denx.de Subject: Re: [PATCH 0/8] arm_ffa: Add FFA_MEM_SHARE and FFA_MEM_RECLAIM support Message-ID: <20241107153311.GA240434@e130802.arm.com> References: <20241101142017.79311-1-abdellatif.elkhlifi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241101142017.79311-1-abdellatif.elkhlifi@arm.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi Simon, Tom, > Add to the FF-A bus FFA_MEM_SHARE and FFA_MEM_RECLAIM ABIs. > > These FF-A ABIs are for memory management. They are used for sharing > memory between U-Boot and secure world. > > FFA_MEM_SHARE starts a transaction to grant access to a memory region > to one or more Borrowers (aka Secure Partitions or endpoints). > FFA_MEM_RECLAIM restores exclusive access to a memory region back to > its Owner (U-Boot). > > For more details about these ABIs please refer to the FF-A v1.0 > specification [1]. For more details about FF-A in U-Boot please > refer to the readme [2]. > > This work is based on the implementation in Linux kernel [3]. > > This work is provided with sandbox support (emulation and test cases). > > [1]: https://developer.arm.com/documentation/den0077/a/?lang=en > [2]: doc/arch/arm64.ffa.rst > [3]: commit cc2195fe536c28e192df5d07e6dd277af36814b4 > Files: drivers/firmware/arm_ffa/driver.c , include/linux/arm_ffa.h > > Cc: Tom Rini > Cc: Simon Glass > Cc: Ilias Apalodimas > Cc: Jens Wiklander > Cc: Achin Gupta > Cc: Drew Reed > Cc: Hugues Kamba Mpiana > > Cheers, > Abdellatif > > Abdellatif El Khlifi (8): > arm_ffa: Add NULL pointer check to the driver operations > arm_ffa: Add FFA_MEM_SHARE support > arm_ffa: Add FFA_MEM_RECLAIM support > arm_ffa: sandbox: Replace the emulator error log with debug log > arm_ffa: sandbox: Add FFA_MEM_SHARE emulation > arm_ffa: sandbox: Add FFA_MEM_SHARE tests > arm_ffa: sandbox: Add FFA_MEM_RECLAIM emulation > arm_ffa: sandbox: Add FFA_MEM_RECLAIM tests > A gentle reminder please. Your comments are welcome. Cheers, Abdellatif