qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/10] make write_misa a no-op and FEATURE_* cleanups
@ 2023-02-16 13:04 Daniel Henrique Barboza
  2023-02-16 13:04 ` [PATCH v4 01/10] target/riscv: turn write_misa() into an official no-op Daniel Henrique Barboza
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Daniel Henrique Barboza @ 2023-02-16 13:04 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, alistair.francis, bmeng, liweiwei, zhiwei_liu, ajones,
	Daniel Henrique Barboza

Hi,

In this version we're changing our minds w.r.t write_misa() and we're
now officializing it as a regular no-op. This was proposed as a better
alternative than trying to fix all the potential problems the code has
in the v3 review [1].

If we decide later on that there's a worthwhile use case to support,
where write_misa() needs to be (re-)implemented, we can use git to see
the code that has been removed and use it.

Changes from v3:
- patches without acks: 1 and 2
- patch 1:
  - reformulated: turn write_misa() into a proper no-op
- patch 2:
  - remove RISCV_FEATURE_MISA
v3 link: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg04326.html

[1] https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg04326.html

Daniel Henrique Barboza (10):
  target/riscv: turn write_misa() into an official no-op
  target/riscv: remove RISCV_FEATURE_MISA
  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



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

end of thread, other threads:[~2023-02-16 15:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-16 13:04 [PATCH v4 00/10] make write_misa a no-op and FEATURE_* cleanups Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 01/10] target/riscv: turn write_misa() into an official no-op Daniel Henrique Barboza
2023-02-16 13:26   ` Bin Meng
2023-02-16 14:51   ` Andrew Jones
2023-02-16 13:04 ` [PATCH v4 02/10] target/riscv: remove RISCV_FEATURE_MISA Daniel Henrique Barboza
2023-02-16 13:31   ` Bin Meng
2023-02-16 14:52   ` Andrew Jones
2023-02-16 15:26     ` Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 03/10] target/riscv: introduce riscv_cpu_cfg() Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 04/10] target/riscv: remove RISCV_FEATURE_DEBUG Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 05/10] target/riscv/cpu.c: error out if EPMP is enabled without PMP Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 06/10] target/riscv: remove RISCV_FEATURE_EPMP Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 07/10] target/riscv: remove RISCV_FEATURE_PMP Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 08/10] hw/riscv/virt.c: do not use RISCV_FEATURE_MMU in create_fdt_socket_cpus() Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 09/10] target/riscv: remove RISCV_FEATURE_MMU Daniel Henrique Barboza
2023-02-16 13:04 ` [PATCH v4 10/10] target/riscv/cpu: remove CPUArchState::features and friends 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).