mbox series

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

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

Message

Bertrand Marquis Oct. 16, 2024, 8:31 a.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 v2:
- do not activate FF-A if firmware does not support i
- 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      | 129 ++++++++++++++++
 xen/arch/arm/tee/ffa_notif.c    |  17 +--
 xen/arch/arm/tee/ffa_partinfo.c | 230 ++++++++++++++++++++---------
 xen/arch/arm/tee/ffa_private.h  |  79 ++++++++--
 xen/arch/arm/tee/ffa_rxtx.c     | 162 +++++++++++++++++----
 xen/arch/arm/tee/ffa_shm.c      |  39 +++--
 8 files changed, 642 insertions(+), 266 deletions(-)
 create mode 100644 xen/arch/arm/tee/ffa_msg.c