[PATCH 0/6] lib: sbi: sse: spec update and fixes

Clément Léger cleger at rivosinc.com
Mon Mar 17 03:54:18 PDT 2025


The SBI specification added a few new events as well as specifying
sse_write_attrs() invalid attributes errors. Also handle new fields
to be saved (SPELP, SDT) upon injection.

Clément Léger (6):
  lib: sbi: sse: Update SSE event ids
  lib: sbi: sse: Fix format string for event invalid state
  lib: sbi: sse: Return SBI_EDENIED for read only parameters.
  lib: sbi: sse: Rename STATUS* interrupted flags to SSTATUS*
  lib: sbi: sse: Add support for SSTATUS.SPELP
  lib: sbi: sse: Add support for SSTATUS.SDT

 include/sbi/riscv_encoding.h      |  3 +-
 include/sbi/sbi_ecall_interface.h | 50 ++++++++++++++++++++++++-------
 lib/sbi/sbi_pmu.c                 |  4 +--
 lib/sbi/sbi_sse.c                 | 50 +++++++++++++++++++++----------
 4 files changed, 78 insertions(+), 29 deletions(-)

-- 
2.47.2




More information about the opensbi mailing list