[PATCH 0/3] Some updates about domain context
Anup Patel
anup at brainfault.org
Mon Oct 6 02:07:15 PDT 2025
On Wed, Sep 3, 2025 at 10:16 AM Xiang W <wxjstz at 126.com> wrote:
>
> - Add code to sbi_domain_context_enter to allocate the domain context
> for all the domain on the current HART.
> - Add error handling
>
> Xiang W (3):
> lib: sbi: Add error handling to switch_to_next_domain_context
> lib: sbi: Add hart context init when first call enter
> lib: sbi: Prevent target domain same as the current
>
> lib/sbi/sbi_domain_context.c | 82 ++++++++++++++++++++++++++----------
> 1 file changed, 59 insertions(+), 23 deletions(-)
>
LGTM.
Reviewed-by: Anup Patel <anup at brainfault.org>
Applied this series to the riscv/opensbi repo.
Thanks,
Anup
More information about the opensbi
mailing list