mbox series

[0/4] target/riscv: Fix mstatus related problems

Message ID 20230529121719.179507-1-liweiwei@iscas.ac.cn (mailing list archive)
Headers show
Series target/riscv: Fix mstatus related problems | expand

Message

Weiwei Li May 29, 2023, 12:17 p.m. UTC
This patchset tries to fix some problems in the fields of mstatus, such as make MPV only work when MPP != PRM.

The port is available here:
https://github.com/plctlab/plct-qemu/tree/plct-mpv-upstream

Weiwei Li (4):
  target/riscv: Make MPV only work when MPP != PRV_M
  target/riscv: Remove check on mode for MPRV
  target/riscv: Support MSTATUS.MPV/GVA only when RVH is enabled
  target/riscv: Remove redundant assignment to SXL

 target/riscv/cpu_helper.c |  5 +++--
 target/riscv/csr.c        | 14 ++++----------
 target/riscv/op_helper.c  |  3 ++-
 3 files changed, 9 insertions(+), 13 deletions(-)