[PATCH 0/4] xen/arm: ffa: Add PARTITION_INFO_GET_REGS support

Bertrand Marquis posted 4 patches 5 days, 15 hours ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1772013062.git.bertrand.marquis@arm.com
There is a newer version of this series
xen/arch/arm/tee/ffa.c          |  16 +
xen/arch/arm/tee/ffa_partinfo.c | 558 ++++++++++++++++++++++----------
xen/arch/arm/tee/ffa_private.h  |   4 +-
3 files changed, 402 insertions(+), 176 deletions(-)
[PATCH 0/4] xen/arm: ffa: Add PARTITION_INFO_GET_REGS support
Posted by Bertrand Marquis 5 days, 15 hours ago
This series implements FF-A 1.2 PARTITION_INFO_GET_REGS support,
providing register-based partition info retrieval as an efficient
alternative to the RX buffer-based PARTITION_INFO_GET.

The serie is also introducing a caching system for the list of secure
partitions to prevent retrieving it on each VM call as we expect it to
be static and not changing over time.

The patches are organized as follows:
- patch 1 is modifying existing code to prepare for GET_REGS support by
  adding a start_index in the existing internal function
- patch 2 is introducing the secure partition list caching
- patch 3 is removing the existing suscribers list to directly use the
  cached secure partition list
- patch 4 is adding GET_REGS support

Bertrand Marquis (4):
  xen/arm: ffa: Add start_index to VM partinfo helper
  xen/arm: ffa: Cache SP partition info at init
  xen/arm: ffa: Drop SP subscriber lists
  xen/arm: ffa: Add cached GET_REGS support

 xen/arch/arm/tee/ffa.c          |  16 +
 xen/arch/arm/tee/ffa_partinfo.c | 558 ++++++++++++++++++++++----------
 xen/arch/arm/tee/ffa_private.h  |   4 +-
 3 files changed, 402 insertions(+), 176 deletions(-)

-- 
2.52.0