Mailing List Archive

[XEN PATCH v1 0/5] FF-A notifications
Hi,

This patch set adds support for FF-A notifications. We only support
global notifications, per vCPU notifications remain unsupported.

The first three patches are further cleanup and can be merged before the
rest if desired.

A physical SGI is used to make Xen aware of pending FF-A notifications. The
physical SGI is selected by the SPMC in the secure world. Since it must not
already be used by Xen the SPMC is in practice forced to donate one of the
secure SGIs, but that's normally not a problem. The SGI handling in Xen is
updated to support registration of handlers for SGIs that aren't statically
assigned, that is, SGI IDs above GIC_SGI_MAX.

Thanks,
Jens

Jens Wiklander (5):
xen/arm: ffa: refactor ffa_handle_call()
xen/arm: ffa: use ACCESS_ONCE()
xen/arm: ffa: simplify ffa_handle_mem_share()
xen/arm: allow dynamically assigned SGI handlers
xen/arm: ffa: support notification

xen/arch/arm/gic.c | 5 +-
xen/arch/arm/irq.c | 7 +-
xen/arch/arm/tee/Makefile | 1 +
xen/arch/arm/tee/ffa.c | 86 +++++++--
xen/arch/arm/tee/ffa_notif.c | 319 +++++++++++++++++++++++++++++++++
xen/arch/arm/tee/ffa_private.h | 71 ++++++++
xen/arch/arm/tee/ffa_shm.c | 33 ++--
7 files changed, 480 insertions(+), 42 deletions(-)
create mode 100644 xen/arch/arm/tee/ffa_notif.c

--
2.34.1