[PATCH v2 0/3] RISC-V: Populate mtval and stval

Alistair Francis posted 3 patches 2 years, 7 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1631076834.git.alistair.francis@wdc.com
Maintainers: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>
There is a newer version of this series
target/riscv/cpu.h        |  6 +++++-
target/riscv/cpu.c        |  6 +++++-
target/riscv/cpu_helper.c | 10 +++++++++
target/riscv/translate.c  | 43 +++++++++++++++++++++------------------
4 files changed, 43 insertions(+), 22 deletions(-)
[PATCH v2 0/3] RISC-V: Populate mtval and stval
Posted by Alistair Francis 2 years, 7 months ago
From: Alistair Francis <alistair.francis@wdc.com>


Populate mtval and stval when taking an illegal instruction exception if
the features are set for the CPU.



Alistair Francis (3):
  target/riscv: Set the opcode in DisasContext
  target/riscv: Implement the stval/mtval illegal instruction
  target/riscv: Set mtval and stval support

 target/riscv/cpu.h        |  6 +++++-
 target/riscv/cpu.c        |  6 +++++-
 target/riscv/cpu_helper.c | 10 +++++++++
 target/riscv/translate.c  | 43 +++++++++++++++++++++------------------
 4 files changed, 43 insertions(+), 22 deletions(-)

-- 
2.31.1