[PATCH v2 0/7] lib: sbi: sse: spec update and fixes
Clément Léger
cleger at rivosinc.com
Thu Mar 27 08:11:06 PDT 2025
On 27/03/2025 15:47, Anup Patel wrote:
> On Tue, Mar 25, 2025 at 3:56 PM Clément Léger <cleger at rivosinc.com> wrote:
>>
>> 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
>
> I have taken care of the comment on PATCH2 at the
> time of applying this series.
Thanks Anup,
Clément
>
> Applied this series to the riscv/opensbi repo.
>
> Thanks,
> Anup
>
>>
>> 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(-)
>>
>> --
>> 2.47.2
>>
>>
>> --
>> opensbi mailing list
>> opensbi at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list