make write_misa a no-op and FEATURE_* cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest10 patches 9 repliesIn review
- v69 patches 25 repliesSuperseded
- v59 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 10 patches | 5 replies | Superseded |
Changes in v7 from the cover letter
- 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
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | target/riscv: introduce riscv_cpu_cfg()target/ | +5 | 0 replies | |
| 2/10 | target/riscv: do not mask unsupported QEMU extensions in write_misa()target/ | +0 | 0 replies | |
| 3/10 | target/riscv: allow MISA writes as experimentaltarget/ target/ target/ | +8 | 7 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 | Bin Meng | LIU Zhiwei | Weiwei Li | Richard Henderson | Andrew Jones |
|---|---|---|---|---|---|
| 1/10 | R-b | R-b | R-b | R-b | |
| 2/10 | R-b | R-b | R-b | ||
| 3/10 | R-b | R-b | R-b R-b | R-b | |
| 4/10 | R-b | R-b | R-b | R-b | |
| 5/10 | R-b | R-b | R-b | R-b | |
| 6/10 | R-b | R-b | R-b | R-b | |
| 7/10 | R-b | R-b | R-b | R-b | |
| 8/10 | R-b | R-b | R-b | R-b | |
| 9/10 | R-b | R-b | R-b | R-b | |
| 10/10 | R-b | 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 5 reviewers.
Cover letter [PATCH v7 00/10] make write_misa a no-op and FEATURE_* cleanups
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(-)
Signature · 1 line
2.39.2