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

Clément Léger cleger at rivosinc.com
Mon Jun 23 06:11:22 PDT 2025


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




More information about the kvm-riscv mailing list