Skip to content

lib: sbi: sse: spec update and fixes

Clément Léger opensbi 2 versions – Applied

Status from this message: Applied this series to the riscv/opensbi repo.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesApplied
  2. v16 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Remove superfluous parenthesis around MSTATUS values
- Fix typo in commit
- Modify commit that added a newline to actually remove the printf
- Add a comment regarding SBI_EDENIED being return

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7lib: sbi: sse: Update SSE event idsinclude/sbi/sbi_ecall_interface.h lib/sbi/sbi_pmu.c lib/sbi/sbi_sse.c+42 -140 replies
2/7lib: sbi: sse: Remove printf from ssbi_sse_exit()lib/sbi/sbi_sse.c+0 -20 replies
3/7lib: sbi: sse: Return SBI_EDENIED for read only parameters.lib/sbi/sbi_sse.c+8 -20 replies
4/7lib: sbi: sse: Rename STATUS* interrupted flags to SSTATUS*include/sbi/sbi_ecall_interface.h lib/sbi/sbi_sse.c+8 -80 replies
5/7lib: sbi: sse: Remove superfluous parenthesis around MSTATUS_* valueslib/sbi/sbi_sse.c+2 -20 replies
6/7lib: sbi: sse: Add support for SSTATUS.SPELPinclude/sbi/sbi_ecall_interface.h lib/sbi/sbi_sse.c+14 -30 replies
7/7lib: sbi: sse: Add support for SSTATUS.SDTinclude/sbi/riscv_encoding.h include/sbi/sbi_ecall_interface.h lib/sbi/sbi_sse.c+13 -30 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchAndrew Jones
1/7R-b
2/7
3/7R-b
4/7R-b
5/7
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] lib: sbi: sse: spec update and fixes

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.

v2:
- Remove superfluous parenthesis around MSTATUS values
- Fix typo in commit
- Modify commit that added a newline to actually remove the printf
- Add a comment regarding SBI_EDENIED being return

Cl?ment L?ger (7):
lib: sbi: sse: Update SSE event ids
lib: sbi: sse: Remove printf from ssbi_sse_exit()
lib: sbi: sse: Return SBI_EDENIED for read only parameters.
lib: sbi: sse: Rename STATUS* interrupted flags to SSTATUS*
lib: sbi: sse: Remove superfluous parenthesis around MSTATUS_* values
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                 | 60 +++++++++++++++++++++----------
 4 files changed, 85 insertions(+), 32 deletions(-)
Signature · 1 line
2.47.2