[PATCH 0/8] arm_ffa: Add FFA_MEM_SHARE and FFA_MEM_RECLAIM support

Abdellatif El Khlifi abdellatif.elkhlifi at arm.com
Thu Nov 7 16:33:11 CET 2024


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 <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> Cc: Jens Wiklander <jens.wiklander at linaro.org>
> Cc: Achin Gupta <achin.gupta at arm.com>
> Cc: Drew Reed <Drew.Reed at arm.com>
> Cc: Hugues Kamba Mpiana <Hugues.KambaMpiana at arm.com>
> 
> 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


More information about the U-Boot mailing list