[PATCH v2 0/2] target/riscv: Fix mstatus.MPP related support

Weiwei Li posted 2 patches 1 year ago
Failed in applying to current master (apply log)
There is a newer version of this series
target/riscv/cpu_helper.c |  5 +----
target/riscv/csr.c        | 18 ++++++++++++++++++
target/riscv/op_helper.c  |  3 ++-
3 files changed, 21 insertions(+), 5 deletions(-)
[PATCH v2 0/2] target/riscv: Fix mstatus.MPP related support
Posted by Weiwei Li 1 year ago
This patchset tries to fix some problems in current implementation for mstatus.MPP

The port is available here:
https://github.com/plctlab/plct-qemu/tree/plct-mpp-fix-v2

v2:
* Modify commit message and add comment to specify MPP field becomes a WARL field since priv version 1.11 in patch 2
* rebase on riscv-to-apply.next

Weiwei Li (2):
  target/riscv: Fix the mstatus.MPP value after executing MRET
  target/riscv: Legalize MPP value in write_mstatus

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

-- 
2.25.1