mbox series

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

Message ID cover.1732702210.git.bertrand.marquis@arm.com (mailing list archive)
Headers show
Series xen/arm: ffa: Improvements and fixes | expand

Message

Bertrand Marquis Nov. 27, 2024, 4:07 p.m. UTC
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