[PATCH 0/3] OpenSBI domain initialization order
Anup Patel
anup.patel at oss.qualcomm.com
Thu Aug 6 21:49:59 PDT 2026
Currently, we rely on the "opensbi-domain" DT property of CPU DT nodes
to select the domain assigned to each HART at boot-time but unfortunately
this is only suitable if we have two non-ROOT domains (aka trused and
non-trusted. For more than two non-ROOT domains, the domain initialization
order should be much more predictable where users should define the exact
order via some DT property under domain DT nodes.
These patches can also be found in sbi_domain_init_order_v1 branch
at: https://github.com/avpatel/opensbi.git
Anup Patel (3):
lib: sbi_domain: Check possible harts in
sbi_domain_context_enter/exit()
lib: sbi_domain: Re-work boot-time assignment of HARTs to non-ROOT
domains
lib: sbi_domain: Introduce domain intialization order
docs/domain_support.md | 25 ++++----
include/sbi/sbi_domain.h | 6 +-
include/sbi_utils/fdt/fdt_domain.h | 3 +-
lib/sbi/sbi_domain.c | 45 ++++++++------
lib/sbi/sbi_domain_context.c | 29 ++++++---
lib/utils/fdt/fdt_domain.c | 94 +++++-------------------------
6 files changed, 80 insertions(+), 122 deletions(-)
--
2.43.0
More information about the opensbi
mailing list