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

Sudeep Holla sudeep.holla at arm.com
Tue Aug 20 07:27:53 PDT 2024


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 at 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,
-- 
Regards,
Sudeep




More information about the linux-arm-kernel mailing list