[PATCH v5 0/9] make write_misa a no-op and FEATURE_* cleanups

Daniel Henrique Barboza posted 9 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230216162126.809482-1-dbarboza@ventanamicro.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
hw/riscv/virt.c           |  7 +++--
target/riscv/cpu.c        | 19 +++---------
target/riscv/cpu.h        | 28 +++--------------
target/riscv/cpu_helper.c |  6 ++--
target/riscv/csr.c        | 65 +++------------------------------------
target/riscv/machine.c    | 11 +++----
target/riscv/monitor.c    |  2 +-
target/riscv/op_helper.c  |  2 +-
target/riscv/pmp.c        |  8 ++---
9 files changed, 31 insertions(+), 117 deletions(-)
[PATCH v5 0/9] make write_misa a no-op and FEATURE_* cleanups
Posted by Daniel Henrique Barboza 1 year, 2 months ago
Hi,

This new version squashed patches 1 and 2 together and there's more
detail in patch 1 about why we're not violating the spec by keeping
write_misa() as a no-op.

All patches are acked.

Changes from v4:
- patches 1 and 2 from v4: squashed together
- patch 1:
  - added more detail in the commit msg about why a no-op misa write is
    spec compliant
- v4 link: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg04780.html

Daniel Henrique Barboza (9):
  target/riscv: turn write_misa() into an official no-op
  target/riscv: introduce riscv_cpu_cfg()
  target/riscv: remove RISCV_FEATURE_DEBUG
  target/riscv/cpu.c: error out if EPMP is enabled without PMP
  target/riscv: remove RISCV_FEATURE_EPMP
  target/riscv: remove RISCV_FEATURE_PMP
  hw/riscv/virt.c: do not use RISCV_FEATURE_MMU in
    create_fdt_socket_cpus()
  target/riscv: remove RISCV_FEATURE_MMU
  target/riscv/cpu: remove CPUArchState::features and friends

 hw/riscv/virt.c           |  7 +++--
 target/riscv/cpu.c        | 19 +++---------
 target/riscv/cpu.h        | 28 +++--------------
 target/riscv/cpu_helper.c |  6 ++--
 target/riscv/csr.c        | 65 +++------------------------------------
 target/riscv/machine.c    | 11 +++----
 target/riscv/monitor.c    |  2 +-
 target/riscv/op_helper.c  |  2 +-
 target/riscv/pmp.c        |  8 ++---
 9 files changed, 31 insertions(+), 117 deletions(-)

-- 
2.39.1