Hi,

This series change mstatus bits based if S mode or U mode is present.

Initially, I sent two separate patches, but to avoid problems by closing the 
referenced issue in Gitlab and both patches change a similar file, they're a 
patch series now. 


Christian S. Lima (2):
  target/riscv: change mstatus bits for read-only if S or U unsupported
  target/riscv: make mstatus.SPELP read-only when S-mode is not present

 target/riscv/cpu.c     | 12 ++++++++++--
 target/riscv/tcg/csr.c | 22 ++++++++++++++++------
 2 files changed, 26 insertions(+), 8 deletions(-)

-- 
2.56.0



Reply via email to