[PATCH] lib: sbi: dbtr: validate complete shared memory range

liutong liutong at iscas.ac.cn
Sun Oct 25 08:54:06 PDT 2026


Hi Pengpeng,

You're right, and my original note overstated it. I asserted a bypass
without establishing that the path is reachable.

On your question: it works. sbi_domain_is_assigned_hart() returns false
for a NULL dom (sbi_domain.c:69), so dropping the dom && guard rejects
it with SBI_ERR_DENIED and costs nothing.

Thanks for checking it properly.

liutong




More information about the opensbi mailing list