[kvm-unit-tests PATCH 0/3] riscv: sbi: sse: Fix some potential crashes

Andrew Jones andrew.jones at linux.dev
Mon Jun 23 09:49:29 PDT 2025


On Mon, Jun 23, 2025 at 03:11:22PM +0200, Clément Léger wrote:
> While validating another SBI, we encountered a few crashes and errors in
> the SSE tests. Fix SSE stack freeing as well as handler call checking.
> Also add READ_ONCE()/WRITE_ONCE() for some shared variable.
> 
> Clément Léger (3):
>   riscv: sbi: sse: Fix wrong sse stack initialization
>   riscv: sbi: sse: Add missing index for handler call check
>   riscv: sbi: sse: Use READ_ONCE()/WRITE_ONCE() for shared variables
> 
>  riscv/sbi-sse.c | 20 ++++++++++++--------
>  1 file changed, 12 insertions(+), 8 deletions(-)
> 
> -- 
> 2.50.0
>

Applied to riscv/sbi

https://gitlab.com/jones-drew/kvm-unit-tests/-/commits/riscv/sbi

Thanks,
drew



More information about the kvm-riscv mailing list