riscv: split TCG/KVM accelerators from cpu.c
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
- v4 Latest19 patches 2 repliesApplied
- v319 patches 23 repliesApplied
- v219 patches 25 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 20 patches | 30 replies | Superseded |
Changes in v4 from the cover letter
- patch 1:
- use cpu.c copyright notice in tcg-cpu.c
- v3 link: https://lore.kernel.org/qemu-riscv/[email protected]/
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | target/riscv: introduce TCG AccelCPUClasstarget/ target/ target/ +2 more | +67 | 0 replies | |
| 2/19 | target/riscv: move riscv_cpu_realize_tcg() to TCG::cpu_realizefn()target/ target/ | +133 | 1 reply | |
| 3/19 | target/riscv: move riscv_cpu_validate_set_extensions() to tcg-cpu.ctarget/ target/ target/ +2 more | +397 | 0 replies | |
| 4/19 | target/riscv: move riscv_tcg_ops to tcg-cpu.ctarget/ target/ target/ | +59 | 0 replies | |
| 5/19 | target/riscv/cpu.c: add .instance_post_init()target/ | +32 | 0 replies | |
| 6/19 | target/riscv: move 'host' CPU declaration to kvm.ctarget/ target/ | +21 | 0 replies | |
| 7/19 | target/riscv/cpu.c: mark extensions arrays as 'const'target/ | +13 | 0 replies | |
| 8/19 | target/riscv: move riscv_cpu_add_kvm_properties() to kvm.ctarget/ target/ target/ +1 more | +86 | 0 replies | |
| 9/19 | target/riscv: make riscv_add_satp_mode_properties() publictarget/ target/ target/ | +4 | 0 replies | |
| 10/19 | target/riscv: remove kvm-stub.ctarget/ target/ | +1 | 0 replies | |
| 11/19 | target/riscv: introduce KVM AccelCPUClasstarget/ target/ target/ | +27 | 0 replies | |
| 12/19 | target/riscv: move KVM only files to kvm subdirhw/ hw/ target/ +4 more | +5 | 0 replies | |
| 13/19 | target/riscv/kvm: do not use riscv_cpu_add_misa_properties()target/ target/ target/ | +18 | 0 replies | |
| 14/19 | target/riscv/cpu.c: export set_misa()target/ target/ | +19 | 0 replies | |
| 15/19 | target/riscv/tcg: introduce tcg_cpu_instance_init()target/ target/ target/ | +149 | 0 replies | |
| 16/19 | target/riscv/cpu.c: make misa_ext_cfgs[] 'const'target/ | +8 | 0 replies | |
| 17/19 | target/riscv/tcg: move riscv_cpu_add_misa_properties() to tcg-cpu.ctarget/ target/ target/ | +90 | 0 replies | |
| 18/19 | target/riscv/cpu.c: export isa_edata_arr[]target/ target/ | +28 | 0 replies | |
| 19/19 | target/riscv/cpu: move priv spec functions to tcg-cpu.ctarget/ target/ target/ | +38 | 0 replies |
Reviews trailers per patch
All 19 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Jones | LIU Zhiwei | Philippe Mathieu-Daudé | Alistair Francis |
|---|---|---|---|---|
| 1/19 | R-b | R-b | R-b | |
| 2/19 | R-b | R-b | R-b | |
| 3/19 | R-b | R-b | R-b | |
| 4/19 | R-b | R-b | R-b | R-b |
| 5/19 | R-b | R-b | ||
| 6/19 | R-b | R-b | R-b | R-b |
| 7/19 | R-b | R-b | R-b | |
| 8/19 | R-b | R-b | R-b | |
| 9/19 | R-b | R-b | R-b | |
| 10/19 | R-b | |||
| 11/19 | R-b | R-b | R-b | |
| 12/19 | R-b | R-b | R-b | |
| 13/19 | R-b | R-b | ||
| 14/19 | R-b | R-b | R-b | |
| 15/19 | R-b | R-b | ||
| 16/19 | R-b | R-b | ||
| 17/19 | R-b | R-b | ||
| 18/19 | R-b | R-b | ||
| 19/19 | 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 4 reviewers.
Cover letter [PATCH v4 00/19] riscv: split TCG/KVM accelerators from cpu.c
Hi,
This new version has a simple copyright change in the tcg-cpu.c file, patch 01, suggested by Alistair in v3. No other changes made.
All patches acked/reviewed.
Changes from v3:
- patch 1:
- use cpu.c copyright notice in tcg-cpu.c
- v3 link: https://lore.kernel.org/qemu-riscv/[email protected]/
Daniel Henrique Barboza (19):
target/riscv: introduce TCG AccelCPUClass
target/riscv: move riscv_cpu_realize_tcg() to TCG::cpu_realizefn() target/riscv: move riscv_cpu_validate_set_extensions() to tcg-cpu.c target/riscv: move riscv_tcg_ops to tcg-cpu.c target/riscv/cpu.c: add .instance_post_init() target/riscv: move 'host' CPU declaration to kvm.c target/riscv/cpu.c: mark extensions arrays as 'const' target/riscv: move riscv_cpu_add_kvm_properties() to kvm.c target/riscv: make riscv_add_satp_mode_properties() public target/riscv: remove kvm-stub.c
target/riscv: introduce KVM AccelCPUClass
target/riscv: move KVM only files to kvm subdir target/riscv/kvm: do not use riscv_cpu_add_misa_properties() target/riscv/cpu.c: export set_misa()
target/riscv/tcg: introduce tcg_cpu_instance_init() target/riscv/cpu.c: make misa_ext_cfgs[] 'const' target/riscv/tcg: move riscv_cpu_add_misa_properties() to tcg-cpu.c target/riscv/cpu.c: export isa_edata_arr[] target/riscv/cpu: move priv spec functions to tcg-cpu.c
hw/intc/riscv_aplic.c | 2 +-
hw/riscv/virt.c | 2 +-
target/riscv/cpu.c | 988 ++------------------------
target/riscv/cpu.h | 30 +-
target/riscv/csr.c | 1 +
target/riscv/kvm-stub.c | 30 -
target/riscv/{kvm.c => kvm/kvm-cpu.c} | 120 +++-
target/riscv/{ => kvm}/kvm_riscv.h | 4 -
target/riscv/kvm/meson.build | 1 +
target/riscv/meson.build | 4 +-
target/riscv/tcg/meson.build | 2 +
target/riscv/tcg/tcg-cpu.c | 883 +++++++++++++++++++++++
target/riscv/tcg/tcg-cpu.h | 27 +
13 files changed, 1113 insertions(+), 981 deletions(-)
delete mode 100644 target/riscv/kvm-stub.c
rename target/riscv/{kvm.c => kvm/kvm-cpu.c} (91%)
rename target/riscv/{ => kvm}/kvm_riscv.h (89%)
create mode 100644 target/riscv/kvm/meson.build
create mode 100644 target/riscv/tcg/meson.build
create mode 100644 target/riscv/tcg/tcg-cpu.c
create mode 100644 target/riscv/tcg/tcg-cpu.hSignature · 1 line
2.41.0