[PATCH v3 3/3] lib: sbi_domain: Introduce domain intialization order

Yu-Chien Peter Lin peter.lin at sifive.com
Tue Sep 8 01:46:55 PDT 2026


On Sat, Sep 05, 2026 at 06:47:48PM +0530, Anup Patel wrote:
> Currently, the domain initialization order is implied by the order
> in which domains are populated by sbi_platform_domains_init() from
> sbi_domain_finalize(). This is not documented anywhere and forces
> unecessary ordering between domain DT nodes.
> 
> To address the above, introduce per-domain 32-bit integer to represent
> intialization order (aka "init_order") where domain with a lower
> initialization order will be booted first and two domains must not
> have same initialization order. For DT based domain creation, new
> "init-order" DT property can be used in domain DT node to specify
> the initialization order. The ROOT domain is assumed to have lowest
> initialization order (aka 0xffffffff).
> 
> Signed-off-by: Anup Patel <anup.patel at oss.qualcomm.com>
> Reviewed-by: Pawandeep Oza <pawandeep.oza at oss.qualcomm.com>
> Tested-by: Pawandeep Oza <pawandeep.oza at oss.qualcomm.com>

Reviewed-by: Yu-Chien Peter Lin <peter.lin at sifive.com>



More information about the opensbi mailing list