Skip to content

lib: sbi: Introduce per-domain MPXY state

Alvin Chang opensbi 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Addressed conflict with master branch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib: sbi_mpxy: Export MPXY data structuresinclude/sbi/sbi_mpxy.h lib/sbi/sbi_mpxy.c+15 -151 reply
2/4lib: sbi_domain: Introduce per-domain MPXY state datainclude/sbi/sbi_domain.h include/sbi/sbi_domain_mpxy_state.h lib/sbi/objects.mk +2 more+107 -11 reply
2/4lib: sbi_domain: Introduce per-domain MPXY state data+0 -00 replies
3/4lib: sbi_mpxy: Convert MPXY state to per-domain datalib/sbi/sbi_mpxy.c+32 -250 replies
4/4lib: sbi: sbi_init: Allocate MPXY state for each domainlib/sbi/sbi_init.c+10 -61 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchYu-Chien Peter LinAlvin Chang
1/4R-b
2/4R-b
2/4R-b
3/4R-b
4/4T-b R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] lib: sbi: Introduce per-domain MPXY state

When multiple supervisor domains need to communicate with OpenSBI through MPXY channel, they will allocate shared memory from their own memory region, thus the MPXY state need to be per-domain and per-hart data.

Changes since v1:
- Addressed conflict with master branch

Alvin Chang (4):
lib: sbi_mpxy: Export MPXY data structures
lib: sbi_domain: Introduce per-domain MPXY state data
lib: sbi_mpxy: Convert MPXY state to per-domain data
lib: sbi: sbi_init: Allocate MPXY state for each domain

 include/sbi/sbi_domain.h            |  1 +
 include/sbi/sbi_domain_mpxy_state.h | 50 ++++++++++++++++++++
 include/sbi/sbi_mpxy.h              | 15 ++++++
 lib/sbi/objects.mk                  |  1 +
 lib/sbi/sbi_domain.c                |  9 +++-
 lib/sbi/sbi_domain_mpxy_state.c     | 47 +++++++++++++++++++
 lib/sbi/sbi_init.c                  | 16 ++++---
 lib/sbi/sbi_mpxy.c                  | 72 +++++++++++++----------------
 8 files changed, 164 insertions(+), 47 deletions(-)
 create mode 100644 include/sbi/sbi_domain_mpxy_state.h
 create mode 100644 lib/sbi/sbi_domain_mpxy_state.c
Signature · 1 line
2.34.1