qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 00/10] make write_misa a no-op and FEATURE_* cleanups
@ 2023-02-22 18:51 Daniel Henrique Barboza
  2023-02-22 18:51 ` [PATCH v7 01/10] target/riscv: introduce riscv_cpu_cfg() Daniel Henrique Barboza
                   ` (10 more replies)
  0 siblings, 11 replies; 20+ messages in thread
From: Daniel Henrique Barboza @ 2023-02-22 18:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, alistair.francis, bmeng, liweiwei, zhiwei_liu, palmer,
	Daniel Henrique Barboza

Hi,

In this version we gave up removing all the write_misa() body and,
instead, we went back to something closer to what we were doing in v2.
write_misa() is now gated behind an experimental x-misa-w cfg option,
defaulted to false.

The idea is that x-misa-w allow us to keep experimenting and testing the
code. Marking it as experimental will (hopefully) make users wary of the
fact that this feature is unstable. The expectation is that the flag will
be removed once write_misa() is ready to always write MISA.

Changes from v6:
- patches without reviews/acks: patch 3
- patch 2: taken from version 3, acks and r-bs preserved
- patch 3:
  - rename 'misa-w' to 'x-misa-w' to be clearer about our intents with
    the cfg option
- v6 link: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg05047.html

Daniel Henrique Barboza (10):
  target/riscv: introduce riscv_cpu_cfg()
  target/riscv: do not mask unsupported QEMU extensions in write_misa()
  target/riscv: allow MISA writes as experimental
  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        | 25 ++++++++++---------------
 target/riscv/cpu.h        | 29 ++++++-----------------------
 target/riscv/cpu_helper.c |  6 +++---
 target/riscv/csr.c        | 15 ++++++---------
 target/riscv/machine.c    | 11 ++++-------
 target/riscv/monitor.c    |  2 +-
 target/riscv/op_helper.c  |  2 +-
 target/riscv/pmp.c        |  8 ++++----
 9 files changed, 39 insertions(+), 66 deletions(-)

-- 
2.39.2



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-03-09 15:26 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22 18:51 [PATCH v7 00/10] make write_misa a no-op and FEATURE_* cleanups Daniel Henrique Barboza
2023-02-22 18:51 ` [PATCH v7 01/10] target/riscv: introduce riscv_cpu_cfg() Daniel Henrique Barboza
2023-02-22 18:51 ` [PATCH v7 02/10] target/riscv: do not mask unsupported QEMU extensions in write_misa() Daniel Henrique Barboza
2023-02-22 18:51 ` [PATCH v7 03/10] target/riscv: allow MISA writes as experimental Daniel Henrique Barboza
2023-02-23  2:36   ` liweiwei
2023-02-23  6:17   ` Andrew Jones
2023-02-28  8:08   ` Bin Meng
2023-02-28 12:09   ` liweiwei
2023-02-28 12:40   ` LIU Zhiwei
2023-03-09  6:11   ` LIU Zhiwei
2023-03-09 15:26     ` Daniel Henrique Barboza
2023-02-22 18:51 ` [PATCH v7 04/10] target/riscv: remove RISCV_FEATURE_DEBUG Daniel Henrique Barboza
2023-02-22 18:52 ` [PATCH v7 05/10] target/riscv/cpu.c: error out if EPMP is enabled without PMP Daniel Henrique Barboza
2023-02-22 18:52 ` [PATCH v7 06/10] target/riscv: remove RISCV_FEATURE_EPMP Daniel Henrique Barboza
2023-02-22 18:52 ` [PATCH v7 07/10] target/riscv: remove RISCV_FEATURE_PMP Daniel Henrique Barboza
2023-02-22 18:52 ` [PATCH v7 08/10] hw/riscv/virt.c: do not use RISCV_FEATURE_MMU in create_fdt_socket_cpus() Daniel Henrique Barboza
2023-02-22 18:52 ` [PATCH v7 09/10] target/riscv: remove RISCV_FEATURE_MMU Daniel Henrique Barboza
2023-02-22 18:52 ` [PATCH v7 10/10] target/riscv/cpu: remove CPUArchState::features and friends Daniel Henrique Barboza
2023-03-01 23:43 ` [PATCH v7 00/10] make write_misa a no-op and FEATURE_* cleanups Palmer Dabbelt
2023-03-02  8:04   ` Daniel Henrique Barboza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).