DOC: Example need to be update in OpenSBI Domain Support
Zweisamkeiten opened this issue · comments
Any region of a domain defined in DT node cannot have only M-bits set in access permissions i.e. it cannot be an m-mode only accessible region.
regions = <&tmem 0x0>, <&tuart 0x0>, <&allmem 0x7>;
if (!((region_access & SBI_DOMAIN_MEMREGION_SU_ACCESS_MASK)
& SBI_DOMAIN_MEMREGION_SU_RWX)
&& ((region_access & SBI_DOMAIN_MEMREGION_M_ACCESS_MASK)
& SBI_DOMAIN_MEMREGION_M_RWX))
return SBI_EINVAL;
Thank you for your reply. I will close this issue.