[PATCH 0/3] Some updates about domain context

Xiang W wxjstz at 126.com
Tue Sep 2 21:46:01 PDT 2025


- 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(-)

-- 
2.47.2




More information about the opensbi mailing list