[PATCH v2 1/3] lib: sbi_domain: Check possible harts in sbi_domain_context_enter/exit()

Yu-Chien Peter Lin peter.lin at sifive.com
Fri Aug 28 03:09:08 PDT 2026


On Mon, Aug 17, 2026 at 08:00:23PM +0530, Anup Patel wrote:
> When context switching to a domain the current hart MUST be part
> of the possible harts of that domain. Add appropriate checks in
> sbi_domain_context_enter/exit() along these lines.
> 
> 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