Based-on: [email protected] ("target/riscv: change mstatus bits for read-only if S or U unsupported")
Hi, This patch fixes an issue in the same way as "[PATCH v3] target/riscv: change mstatus bits for read-only if S or U unsupported", but an additional comment was added later in the issue, so I thought it deserved a separate patch. And in addition use "[PATCH 0/1] target/riscv: do not write SXL < UXL [GL4821]" too, in order to avoid breaking things as described in the cover letter. Christian S. Lima (1): target/riscv: make mstatus.SPELP read-only when S-mode is not present target/riscv/tcg/csr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.56.0
