mbox series

[v2,0/7] firmware: arm_ffa: FF-A basic v1.2 support

Message ID 20240820-ffa_v1-2-v2-0-18c0c5f3c65e@arm.com (mailing list archive)
Headers show
Series firmware: arm_ffa: FF-A basic v1.2 support | expand

Message

Sudeep Holla Aug. 20, 2024, 2:27 p.m. UTC
This series add basic support for FF-A v1.2.
It mainly includes support for newly added:
1. FFA_MSG_SEND_DIRECT_{REQ,RESP}2
2. FFA_PARTITION_INFO_GET_REGS
3. FFA_YIELD support in direct messaging

Apart from these, the changes include support to fetch the Rx/Tx buffer
size using FFA_FEATURES, addition of the FF-A FIDs for v1.2 and some
coding style cleanups.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
Changes in v2:
- Fixed allmodconfig build. The issue is with memcpy when FORTIFY_SOURCE is enabled.
- Fixed the return value copied back when the response is FFA_MSG_SEND_DIRECT_RESP2
- Link to v1: https://lore.kernel.org/r/20240814-ffa_v1-2-v1-0-9e9abef69b21@arm.com

---
Sudeep Holla (7):
      firmware: arm_ffa: Some coding style fixes
      firmware: arm_ffa: Update the FF-A command list with v1.2 additions
      firmware: arm_ffa: Move the function ffa_features() earlier
      firmware: arm_ffa: Add support for FFA_PARTITION_INFO_GET_REGS
      firmware: arm_ffa: Add support for FFA_MSG_SEND_DIRECT_{REQ,RESP}2
      firmware: arm_ffa: Add support for FFA_YIELD in direct messaging
      firmware: arm_ffa: Fetch the Rx/Tx buffer size using ffa_features()

 drivers/firmware/arm_ffa/driver.c | 240 +++++++++++++++++++++++++++++---------
 include/linux/arm_ffa.h           |  12 ++
 2 files changed, 195 insertions(+), 57 deletions(-)
---
base-commit: 47ac09b91befbb6a235ab620c32af719f8208399
change-id: 20240814-ffa_v1-2-6c33798743f3

Best regards,

Comments

Sudeep Holla Aug. 27, 2024, 2:23 p.m. UTC | #1
On Tue, 20 Aug 2024 15:27:53 +0100, Sudeep Holla wrote:
> This series add basic support for FF-A v1.2.
> It mainly includes support for newly added:
> 1. FFA_MSG_SEND_DIRECT_{REQ,RESP}2
> 2. FFA_PARTITION_INFO_GET_REGS
> 3. FFA_YIELD support in direct messaging
> 
> Apart from these, the changes include support to fetch the Rx/Tx buffer
> size using FFA_FEATURES, addition of the FF-A FIDs for v1.2 and some
> coding style cleanups.
> 
> [...]

Applied to sudeep.holla/linux (for-next/ffa/updates), thanks!

[1/7] firmware: arm_ffa: Some coding style fixes
      https://git.kernel.org/sudeep.holla/c/fbbb0e5fd260
[2/7] firmware: arm_ffa: Update the FF-A command list with v1.2 additions
      https://git.kernel.org/sudeep.holla/c/7c432a18ad21
[3/7] firmware: arm_ffa: Move the function ffa_features() earlier
      https://git.kernel.org/sudeep.holla/c/d37fff98262d
[4/7] firmware: arm_ffa: Add support for FFA_PARTITION_INFO_GET_REGS
      https://git.kernel.org/sudeep.holla/c/ba85c644ac8d
[5/7] firmware: arm_ffa: Add support for FFA_MSG_SEND_DIRECT_{REQ,RESP}2
      https://git.kernel.org/sudeep.holla/c/aaef3bc98129
[6/7] firmware: arm_ffa: Add support for FFA_YIELD in direct messaging
      https://git.kernel.org/sudeep.holla/c/eaca7ef8f31a
[7/7] firmware: arm_ffa: Fetch the Rx/Tx buffer size using ffa_features()
      https://git.kernel.org/sudeep.holla/c/61824feae5c0
--
Regards,
Sudeep