[kvm-unit-tests PATCH v10 8/8] riscv: sbi: Add SSE extension tests

Andrew Jones andrew.jones at linux.dev
Mon Mar 17 05:49:33 PDT 2025


On Mon, Mar 17, 2025 at 11:19:54AM +0100, Clément Léger wrote:
> Add SBI SSE extension tests for the following features:
> - Test attributes errors (invalid values, RO, etc)
> - Registration errors
> - Simple events (register, enable, inject)
> - Events with different priorities
> - Global events dispatch on different harts
> - Local events on all harts
> - Hart mask/unmask events
> 
> Signed-off-by: Clément Léger <cleger at rivosinc.com>
> ---
>  riscv/Makefile    |    1 +
>  riscv/sbi-tests.h |    1 +
>  riscv/sbi-sse.c   | 1280 +++++++++++++++++++++++++++++++++++++++++++++
>  riscv/sbi.c       |    2 +
>  4 files changed, 1284 insertions(+)
>  create mode 100644 riscv/sbi-sse.c
>

Reviewed-by: Andrew Jones <andrew.jones at linux.dev>



More information about the kvm-riscv mailing list