xen/arm: ffa: Add PARTITION_INFO_GET_REGS support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 4 repliesIn review
- v14 patches 11 repliesSuperseded
Changes in v2 from the cover letter
- rework SP cache handling to enforce 1.1+ structure size
- ensure unaligned-safe reads
- remove checks for SBZ fields
- tighten tag handling
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xen/arm: ffa: Add start_index to VM partinfo helperxen/ | +35 | 0 replies | |
| 2/4 | xen/arm: ffa: Cache SP partition info at initxen/ | +146 | 1 reply | |
| 3/4 | xen/arm: ffa: Drop SP subscriber listsxen/ | +47 | 1 reply | |
| 4/4 | xen/arm: ffa: Add cached GET_REGS supportxen/ xen/ xen/ | +223 | 2 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Jens Wiklander |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] xen/arm: ffa: Add PARTITION_INFO_GET_REGS support
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
Changes since v1 (Jens comments):
- rework SP cache handling to enforce 1.1+ structure size
- ensure unaligned-safe reads
- remove checks for SBZ fields
- tighten tag handling
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 | 23 +- xen/arch/arm/tee/ffa_partinfo.c | 565 ++++++++++++++++++++++---------- xen/arch/arm/tee/ffa_private.h | 4 +- 3 files changed, 410 insertions(+), 182 deletions(-)
Signature · 1 line
2.52.0