[PATCH] lib: sbi: sse: fix invalid errors returned for sse_hart_mask/unmask()
Samuel Holland
samuel.holland at sifive.com
Thu Feb 13 14:59:32 PST 2025
On 2025-02-13 3:25 AM, Clément Léger wrote:
> When called twice, sse_hart_mask()/sse_hart_unmask() should return
> SBI_EALREADY_STOPPED/SBI_EALREADY_STARTED. This was currently inverted.
>
> Fixes: b919daf49582 ("lib: sbi: Add support to mask/unmask SSE events")
> Reported-by: Andrew Jones <ajones at ventanamicro.com>
> Signed-off-by: Clément Léger <cleger at rivosinc.com>
> ---
> lib/sbi/sbi_sse.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Samuel Holland <samuel.holland at sifive.com>
More information about the opensbi
mailing list