[PATCH 0/2] Change mstatus bits to read-only based on modes

Christian S. Lima posted 2 patches 1 week, 2 days ago
target/riscv/cpu.c     | 12 ++++++++++--
target/riscv/tcg/csr.c | 22 ++++++++++++++++------
2 files changed, 26 insertions(+), 8 deletions(-)
[PATCH 0/2] Change mstatus bits to read-only based on modes
Posted by Christian S. Lima 1 week, 2 days ago
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
Re: [PATCH 0/2] Change mstatus bits to read-only based on modes
Posted by Christian 2 days, 10 hours ago
Ping.