riscv: RVA22 profiles support
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v13 Latest26 patches 21 repliesApplied
- v1218 patches 0 repliesSuperseded
- v1118 patches 4 repliesSuperseded
Earlier versions · 12
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v10 | 18 patches | 3 replies | Superseded | |
| v9 | 19 patches | 7 replies | Superseded | |
| v8 | 19 patches | 11 replies | Superseded | |
| v7 | 16 patches | 8 replies | Superseded | |
| v6 | 12 patches | 14 replies | Superseded | |
| v5 | 10 patches | 4 replies | Superseded | |
| v4 | 9 patches | 11 replies | Superseded | |
| v3 posting 2/2 | 4 patches | 4 replies | Applied | |
| v3 posting 1/2 | 6 patches | 16 replies | Superseded | |
| v2 posting 2/2 | 6 patches | 5 replies | Superseded | |
| v2 posting 1/2 | 10 patches | 13 replies | Superseded | |
| v1 | 6 patches | 9 replies | Superseded |
Patches in v13 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | target/riscv: create TYPE_RISCV_VENDOR_CPUtarget/ target/ | +22 | 0 replies | |
| 2/26 | target/riscv/tcg: do not use "!generic" CPU checkstarget/ | +9 | 0 replies | |
| 3/26 | target/riscv/tcg: update priv_ver on user_set extensionstarget/ | +32 | 1 reply | |
| 4/26 | target/riscv: add rv64i CPUtarget/ target/ | +48 | 1 reply | |
| 5/26 | target/riscv: add zicbop extension flaghw/ target/ target/ | +10 | 1 reply | |
| 6/26 | target/riscv/tcg: add 'zic64b' supporttarget/ target/ target/ +1 more | +34 | 1 reply | |
| 7/26 | riscv-qmp-cmds.c: expose named features in cpu_model_expansiontarget/ | +25 | 1 reply | |
| 8/26 | target/riscv: add rva22u64 profile definitiontarget/ target/ | +44 | 0 replies | |
| 9/26 | target/riscv/kvm: add 'rva22u64' flag as unavailabletarget/ | +6 | 0 replies | |
| 10/26 | target/riscv/tcg: add user flag for profile supporttarget/ | +80 | 1 reply | |
| 11/26 | target/riscv/tcg: add MISA user options hashtarget/ | +14 | 0 replies | |
| 12/26 | target/riscv/tcg: add riscv_cpu_write_misa_bit()target/ | +18 | 0 replies | |
| 13/26 | target/riscv/tcg: handle profile MISA bitstarget/ | +21 | 0 replies | |
| 14/26 | target/riscv/tcg: add hash table insert helperstarget/ | +16 | 1 reply | |
| 15/26 | target/riscv/tcg: honor user choice for G MISA bitstarget/ | +48 | 0 replies | |
| 16/26 | target/riscv/tcg: validate profiles during finalizetarget/ | +69 | 1 reply | |
| 17/26 | riscv-qmp-cmds.c: add profile flags in cpu-model-expansiontarget/ | +14 | 1 reply | |
| 18/26 | target/riscv: add 'rva22u64' CPUtarget/ target/ target/ | +27 | 1 reply | |
| 19/26 | target/riscv: implement svadetarget/ target/ target/ | +7 | 1 reply | |
| 20/26 | target/riscv: add priv ver restriction to profilestarget/ target/ target/ | +34 | 1 reply | |
| 21/26 | target/riscv/cpu.c: finalize satp_mode earliertarget/ | +8 | 1 reply | |
| 22/26 | target/riscv/cpu.c: add riscv_cpu_is_32bit()target/ target/ | +7 | 1 reply | |
| 23/26 | target/riscv: add satp_mode profile supporttarget/ target/ target/ | +42 | 1 reply | |
| 24/26 | target/riscv: add 'parent' in profile descriptiontarget/ target/ target/ | +15 | 1 reply | |
| 25/26 | target/riscv: add RVA22S64 profiletarget/ | +32 | 1 reply | |
| 26/26 | target/riscv: add rva22s64 cputarget/ target/ | +9 | 1 reply |
Reviews trailers per patch
All 26 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Jones | Alistair Francis | LIU Zhiwei | Philippe Mathieu-Daudé |
|---|---|---|---|---|
| 1/26 | R-b | R-b | ||
| 2/26 | R-b | R-b | ||
| 3/26 | R-b | R-b | ||
| 4/26 | R-b | R-b | ||
| 5/26 | R-b | R-b | ||
| 6/26 | R-b | R-b | ||
| 7/26 | R-b | R-b | ||
| 8/26 | R-b | A-b | ||
| 9/26 | R-b | R-b | R-b | |
| 10/26 | R-b | R-b | ||
| 11/26 | R-b | R-b | R-b | |
| 12/26 | R-b | R-b | R-b | |
| 13/26 | R-b | R-b | R-b | |
| 14/26 | R-b | R-b | ||
| 15/26 | R-b | R-b | ||
| 16/26 | R-b | R-b | ||
| 17/26 | R-b | R-b | ||
| 18/26 | R-b | R-b | ||
| 19/26 | R-b | R-b | ||
| 20/26 | R-b | R-b | ||
| 21/26 | R-b | R-b | ||
| 22/26 | R-b | R-b | R-b | |
| 23/26 | R-b | A-b | ||
| 24/26 | R-b | R-b | ||
| 25/26 | R-b | R-b | ||
| 26/26 | 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 4 reviewers.
Cover letter [PATCH v13 00/26] riscv: RVA22 profiles support
Hi,
This is a merge of the two profile series:
"[PATCH for-9.0 v12 00/18] riscv: rv64i/rva22u64 CPUs, RVA22U64 profile support" "[PATCH for-9.0 v2 0/8] target/riscv: implement RVA22S64 profile"
I'm sending them together since the second series is dependent on the first.
Quick summary of the major features added:
- A new rv64i CPU type. This is a CPU that has only RVI enabled;
- 'rva22u64' and 'rva22s64' profile flags. They were designed to be used with the 'rv64i' CPU but can be used with other generic CPUs like rv64;
- Two new profile CPUs: 'rva22u64' and 'rva22s64'. A profile CPU is an alias of '-cpu rv64,profile=on' and it's the most convenient way of using profiles. E.g to launch an rva22s64 'virt' machine:
./qemu-system-riscv64 -M virt -cpu rva22s64 (...)
To test an application with an rva22u64 profile with linux-user mode:
./qemu-riscv64 -cpu rva22u64 (...)
The series can also be fetch via:
https://gitlab.com/danielhb/qemu/-/tree/rva22_v13
Patches rebased on top of Alistair riscv-to-apply.next.
All patches acked.
Daniel Henrique Barboza (26):
target/riscv: create TYPE_RISCV_VENDOR_CPU target/riscv/tcg: do not use "!generic" CPU checks target/riscv/tcg: update priv_ver on user_set extensions target/riscv: add rv64i CPU
target/riscv: add zicbop extension flag target/riscv/tcg: add 'zic64b' support riscv-qmp-cmds.c: expose named features in cpu_model_expansion target/riscv: add rva22u64 profile definition target/riscv/kvm: add 'rva22u64' flag as unavailable target/riscv/tcg: add user flag for profile support target/riscv/tcg: add MISA user options hash target/riscv/tcg: add riscv_cpu_write_misa_bit() target/riscv/tcg: handle profile MISA bits target/riscv/tcg: add hash table insert helpers target/riscv/tcg: honor user choice for G MISA bits target/riscv/tcg: validate profiles during finalize riscv-qmp-cmds.c: add profile flags in cpu-model-expansion target/riscv: add 'rva22u64' CPU
target/riscv: implement svade
target/riscv: add priv ver restriction to profiles target/riscv/cpu.c: finalize satp_mode earlier target/riscv/cpu.c: add riscv_cpu_is_32bit() target/riscv: add satp_mode profile support target/riscv: add 'parent' in profile description target/riscv: add RVA22S64 profile
target/riscv: add rva22s64 cpu
hw/riscv/virt.c | 5 + target/riscv/cpu-qom.h | 5 + target/riscv/cpu.c | 201 +++++++++++++-- target/riscv/cpu.h | 18 ++ target/riscv/cpu_cfg.h | 4 + target/riscv/kvm/kvm-cpu.c | 7 +- target/riscv/riscv-qmp-cmds.c | 44 +++- target/riscv/tcg/tcg-cpu.c | 450 +++++++++++++++++++++++++++++++--- 8 files changed, 672 insertions(+), 62 deletions(-)
Signature · 1 line
2.43.0