enable write_misa() and RISCV_FEATURE_* cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 7 repliesIn review
- v211 patches 11 repliesSuperseded
- v111 patches 14 repliesSuperseded
Changes in v3 from the cover letter
- all patches but patch 2 are acked/reviewed
- patch 2:
- remove the RISCV_FEATURE_MISA validation from write_misa()
- v2 link: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg03934.html
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | target/riscv: do not mask unsupported QEMU extensions in write_misa()target/ | +0 | 0 replies | |
| 2/10 | target/riscv: always allow write_misa() to write MISAtarget/ target/ | +0 | 7 replies | |
| 3/10 | target/riscv: introduce riscv_cpu_cfg()target/ | +5 | 0 replies | |
| 4/10 | target/riscv: remove RISCV_FEATURE_DEBUGtarget/ target/ target/ +2 more | +4 | 0 replies | |
| 5/10 | target/riscv/cpu.c: error out if EPMP is enabled without PMPtarget/ | +7 | 0 replies | |
| 6/10 | target/riscv: remove RISCV_FEATURE_EPMPtarget/ target/ target/ +1 more | +6 | 0 replies | |
| 7/10 | target/riscv: remove RISCV_FEATURE_PMPtarget/ target/ target/ +4 more | +5 | 0 replies | |
| 8/10 | hw/riscv/virt.c: do not use RISCV_FEATURE_MMU in create_fdt_socket_cpus()hw/ | +4 | 0 replies | |
| 9/10 | target/riscv: remove RISCV_FEATURE_MMUtarget/ target/ target/ +3 more | +5 | 0 replies | |
| 10/10 | target/riscv/cpu: remove CPUArchState::features and friendstarget/ target/ | +2 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Weiwei Li | Bin Meng | Andrew Jones |
|---|---|---|---|
| 1/10 | R-b | R-b | R-b |
| 2/10 | R-b | ||
| 3/10 | R-b | R-b | R-b |
| 4/10 | R-b | R-b | R-b |
| 5/10 | R-b | R-b | R-b |
| 6/10 | R-b | R-b | R-b |
| 7/10 | R-b | R-b | R-b |
| 8/10 | R-b | R-b | R-b |
| 9/10 | R-b | R-b | R-b |
| 10/10 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 00/10] enable write_misa() and RISCV_FEATURE_* cleanups
Hi,
In this new version the most notable change was in the write_misa() logic. I decided to follow Bin's suggestion and removed the verification at the start of the function.
As the result, the patch that removes RISCV_FEATURE_MISA was merged with the patch that makes this change (patch 2).
I also removed the v2 acks from it since the patch now does something different than before. Patch 2 is also the only patch that is missing acks.
Changes from v2:
- all patches but patch 2 are acked/reviewed
- patch 2:
- remove the RISCV_FEATURE_MISA validation from write_misa()
- v2 link: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg03934.html
Daniel Henrique Barboza (10):
target/riscv: do not mask unsupported QEMU extensions in write_misa() target/riscv: always allow write_misa() to write 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 | 18 +++++------------- 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(+), 70 deletions(-)
Signature · 1 line
2.39.1