diff options
author | Anup Patel <apatel@ventanamicro.com> | 2025-02-11 21:06:23 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-02-19 17:11:39 +0530 |
commit | 1f64fef919fc5739df6c3395a9abd256dc88cb24 (patch) | |
tree | bd87f93f6ca88727a52cb6c4b0325cc327bd4502 /lib/utils/cppc/fdt_cppc_rpmi.c | |
parent | fe11dee7eaeef71c4e03f8244f1b3d16b8cac460 (diff) | |
download | opensbi-1f64fef919fc5739df6c3395a9abd256dc88cb24.zip opensbi-1f64fef919fc5739df6c3395a9abd256dc88cb24.tar.gz opensbi-1f64fef919fc5739df6c3395a9abd256dc88cb24.tar.bz2 |
lib: sbi: Fix non-root domain startup
Currently, the sbi_sse_init() in cold boot path is called after
sbi_domain_finalize() so boot HART of non-root domains will start
before SSE cold boot init which can cause warm boot of such HARTs
to crash in sbi_sse_init().
To address the above issue, factor-out the non-root domain startup
from sbi_domain_finalize() function as a separate sbi_domain_startup()
function which can be called after sbi_sse_init() in cold boot path.
Fixes: 93f7d819fdeb ("lib: sbi: sse: allow adding new events")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc_rpmi.c')
0 files changed, 0 insertions, 0 deletions