SBI spec: return code for non-available extension

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Mar 6 15:28:50 GMT 2021


Am 6. März 2021 13:19:07 MEZ schrieb Anup Patel <anup at brainfault.org>:
>On Sat, Mar 6, 2021 at 12:33 PM Heinrich Schuchardt
><xypron.glpk at gmx.de> wrote:
>>
>> Software may by fault invoke an extension which is not available.
>>
>> OpenSBI actually returns SBI_ERR_NOT_SUPPORTED from
>sbi_ecall_handler()
>> in this case.
>>
>> This is a reasonable choice but I could not find any basis in the SBI
>> specification. The handling of an ecall for an unsupported EID is not
>> described.
>
>The SBI_ERR_NOT_SUPPORTED error code is the default error code
>any unsupported function. This should be clearly mentioned in the
>SBI base extension if it is not already mentioned.
>
>>
>> I think this gap should be closed in the spec.
>
>Totally agree.
>
>Please go ahead and send a patch (or Github PR) for SBI spec.
>(Refer, https://github.com/riscv/riscv-sbi-doc)
>
>Our mailing for SBI spec is the UnixPlatformSpec mailing list but
>you need to join RiSC-V International as an individual to join the
>mailing list (https://lists.riscv.org/g/tech-unixplatformspec).
>(Note: AFAIK individual membership is free for RISC-V international).

The page for joining provided by the Linux foundation requires entering a company and only accepts company e-mail addresses.

So it is technically impossible to join as individual.

>
>Regards,
>Anup
>
>>
>> Best regards
>>
>> Heinrich
>>
>> --
>> opensbi mailing list
>> opensbi at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/opensbi




More information about the opensbi mailing list