[PATCH v3 00/10] xen/arm: ffa: Improvements and fixes

Bertrand Marquis posted 10 patches 1 week, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1732702210.git.bertrand.marquis@arm.com
xen/arch/arm/tee/Makefile       |   1 +
xen/arch/arm/tee/ffa.c          | 251 +++++++++++++++-----------------
xen/arch/arm/tee/ffa_msg.c      | 130 +++++++++++++++++
xen/arch/arm/tee/ffa_notif.c    |  21 +--
xen/arch/arm/tee/ffa_partinfo.c | 234 ++++++++++++++++++++---------
xen/arch/arm/tee/ffa_private.h  |  79 ++++++++--
xen/arch/arm/tee/ffa_rxtx.c     | 169 +++++++++++++++++----
xen/arch/arm/tee/ffa_shm.c      |  39 +++--
8 files changed, 654 insertions(+), 270 deletions(-)
create mode 100644 xen/arch/arm/tee/ffa_msg.c
[PATCH v3 00/10] xen/arm: ffa: Improvements and fixes
Posted by Bertrand Marquis 1 week, 4 days ago
This serie contains various patches to rework how firmware discovery and
feature detection is done and allow to have a more fine granular
filtering of the calls we do or not to the firmware.

There is also a patch introducing the use of the "bit 15" convention
from the FF-A specification to distinguish between secure and non-secure
identifiers as Xen VM IDs cannot have bit 15 set.

Finally we introduce support for indirect messages and for that we
transmit the RXTX buffers to the SPMC and we put the message related
functions into their own source file.

Changes in v3:
- add some comments in code
- add some R-b from Jens
- handle comments from Jens (details in each patch)
- rebase on top of latest staging

Changes in v2:
- do not activate FF-A if firmware does not support it
- various clean up and small fixes explained in each patch
- rebase on top of latest staging


Bertrand Marquis (10):
  xen/arm: ffa: Rework firmware discovery
  xen/arm: ffa: Rework feature discovery
  xen/arm: ffa: Fix version negotiation
  xen/arm: ffa: Fine granular call support
  xen/arm: ffa: Rework partition info get
  xen/arm: ffa: Use bit 15 convention for SPs
  xen/arm: ffa: Transmit RXTX buffers to the SPMC
  xen/arm: ffa: move message function into ffa_msg.c
  xen/arm: ffa: Remove per VM notif_enabled
  xen/arm: ffa: Add indirect message support

 xen/arch/arm/tee/Makefile       |   1 +
 xen/arch/arm/tee/ffa.c          | 251 +++++++++++++++-----------------
 xen/arch/arm/tee/ffa_msg.c      | 130 +++++++++++++++++
 xen/arch/arm/tee/ffa_notif.c    |  21 +--
 xen/arch/arm/tee/ffa_partinfo.c | 234 ++++++++++++++++++++---------
 xen/arch/arm/tee/ffa_private.h  |  79 ++++++++--
 xen/arch/arm/tee/ffa_rxtx.c     | 169 +++++++++++++++++----
 xen/arch/arm/tee/ffa_shm.c      |  39 +++--
 8 files changed, 654 insertions(+), 270 deletions(-)
 create mode 100644 xen/arch/arm/tee/ffa_msg.c

-- 
2.47.0