Skip to content

OpenSBI domain data support

Anup Patel opensbi 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 0 repliesNew
  2. v19 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Typo fixes in PATCH1 to PATCH4
- Use current_hartindex() wherever applicable in PATCH8

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9lib: utils/ipi: Use sbi_domain_root_add_memrange() for ACLINT mswilib/utils/ipi/aclint_mswi.c+6 -140 replies
2/9lib: utils/irqchip: Use sbi_domain_root_add_memrange() for IMSIClib/utils/irqchip/imsic.c+6 -80 replies
3/9lib: utils/irqchip: Use sbi_domain_root_add_memrange() for APLIClib/utils/irqchip/aplic.c+4 -70 replies
4/9lib: sbi_domain: Make sbi_domain_root_add_memregion() as local functioninclude/sbi/sbi_domain.h lib/sbi/sbi_domain.c+2 -120 replies
5/9lib: utils/fdt: Use sbi_domain_memregion_init() when parsing domainslib/utils/fdt/fdt_domain.c+8 -60 replies
6/9include: sbi: Remove cyclic include in sbi_domain_context.hinclude/sbi/sbi_domain_context.h lib/sbi/sbi_domain_context.c+3 -10 replies
7/9lib: sbi: Introduce domain datainclude/sbi/sbi_domain.h include/sbi/sbi_domain_data.h lib/sbi/objects.mk +2 more+246 -00 replies
8/9lib: sbi_domain: Use domain data support for per-domain hart contextinclude/sbi/sbi_domain.h include/sbi/sbi_domain_context.h lib/sbi/sbi_domain.c +1 more+109 -620 replies
9/9docs: Remove hartindex_to_context_table from domain_support.mddocs/domain_support.md+0 -20 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchSamuel HollandYu Chien Peter Lin
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9

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/9] OpenSBI domain data support

This series extends the OpenSBI domain support to allow per-domain data from different parts of OpenSBI. Also extend OpenSBI domain context as the first user of OpenSBI domain data support.

The first 6 patches of this series are miscellaneous improvements which were pending for quite some time.

These patches can also be found in the sbi_domain_imp_v2 branch at:
https://github.com/avpatel/opensbi.git

Changes since v1:
- Typo fixes in PATCH1 to PATCH4
- Use current_hartindex() wherever applicable in PATCH8

Anup Patel (9):
lib: utils/ipi: Use sbi_domain_root_add_memrange() for ACLINT mswi
lib: utils/irqchip: Use sbi_domain_root_add_memrange() for IMSIC
lib: utils/irqchip: Use sbi_domain_root_add_memrange() for APLIC
lib: sbi_domain: Make sbi_domain_root_add_memregion() as local
function
lib: utils/fdt: Use sbi_domain_memregion_init() when parsing domains
include: sbi: Remove cyclic include in sbi_domain_context.h
lib: sbi: Introduce domain data
lib: sbi_domain: Use domain data support for per-domain hart context
docs: Remove hartindex_to_context_table from domain_support.md

 docs/domain_support.md           |   2 -
 include/sbi/sbi_domain.h         |  15 +---
 include/sbi/sbi_domain_context.h |  57 +++----------
 include/sbi/sbi_domain_data.h    |  93 +++++++++++++++++++++
 lib/sbi/objects.mk               |   1 +
 lib/sbi/sbi_domain.c             |  24 +++++-
 lib/sbi/sbi_domain_context.c     | 105 ++++++++++++++++++++---
 lib/sbi/sbi_domain_data.c        | 138 +++++++++++++++++++++++++++++++
 lib/utils/fdt/fdt_domain.c       |  14 ++--
 lib/utils/ipi/aclint_mswi.c      |  20 ++---
 lib/utils/irqchip/aplic.c        |  11 +--
 lib/utils/irqchip/imsic.c        |  14 ++--
 12 files changed, 383 insertions(+), 111 deletions(-)
 create mode 100644 include/sbi/sbi_domain_data.h
 create mode 100644 lib/sbi/sbi_domain_data.c
Signature · 1 line
2.43.0