[PATCH v4 4/5] lib: sbi: sse: return SBI_ENOTSUPP for unsupported events

Samuel Holland samuel.holland at sifive.com
Mon Dec 16 13:55:09 PST 2024


On 2024-12-16 3:21 PM, Clément Léger wrote:
> If a standard event was not found in the list of events that are handled
> by harts but belongs to the standard event list defined by the
> specification, return SBI_ENOTSUPP. Without that, we can not
> distinguish a non implemented standard event from a non valid one.
> 
> Signed-off-by: Clément Léger <cleger at rivosinc.com>
> ---
>  lib/sbi/sbi_sse.c | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

Reviewed-by: Samuel Holland <samuel.holland at sifive.com>




More information about the opensbi mailing list