mbox series

[v2,0/5] FF-A VM to VM support

Message ID cover.1741617888.git.bertrand.marquis@arm.com (mailing list archive)
Headers show
Series FF-A VM to VM support | expand

Message

Bertrand Marquis March 10, 2025, 2:50 p.m. UTC
This patch serie adds support to use FF-A between VM for communications
using indirect messages.

It adds a Kconfig parameter to enable this feature and marks it as
experimental as for now there is no system to restrict communication
rights between VM using this system.

It also adds support to use VM to VM communications using FF-A even if
there is no firmware support for FF-A. As this feature enables FF-A
support in all cases, we also introduce a new command line parameter to
allow the user to force which tee is to be used between FF-A and Optee
to have a solution to enable optee support if FF-A VM to VM is enabled.

Changes since v1 (rfc):
- add a tee command line parameter
- use IS_ENABLED instead of ifdef when possible
- rebase on latest staging

Bertrand Marquis (5):
  xen/arm: Create tee command line parameter
  xen/arm: ffa: Introduce VM to VM support
  xen/arm: ffa: Add buffer full notification support
  xen/arm: ffa: Add indirect message between VM
  xen/arm: ffa: Enable VM to VM without firmware

 docs/misc/xen-command-line.pandoc  |  14 +++
 xen/arch/arm/include/asm/tee/tee.h |   4 +
 xen/arch/arm/tee/Kconfig           |  11 +++
 xen/arch/arm/tee/ffa.c             |  12 ++-
 xen/arch/arm/tee/ffa_msg.c         |  96 +++++++++++++++++--
 xen/arch/arm/tee/ffa_notif.c       | 138 +++++++++++++++------------
 xen/arch/arm/tee/ffa_partinfo.c    | 147 +++++++++++++++++++++++------
 xen/arch/arm/tee/ffa_private.h     |  29 ++++++
 xen/arch/arm/tee/tee.c             |  31 ++++++
 9 files changed, 380 insertions(+), 102 deletions(-)