Skip to content

target/arm: Compile accelerator-related objects as common code

Philippe Mathieu-Daudé kvm qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyIn review
  2. v18 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- Include missing "exec/cpu-common.h" & "qemu/queue.h" headers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9accel/kvm: Include missing 'exec/cpu-common.h' headeraccel/kvm/kvm-all.c+1 -00 replies
2/9accel/kvm: Include missing 'exec/vaddr.h' and 'qemu/queue.h' headersinclude/system/kvm.h+2 -00 replies
3/9accel/kvm: Remove TARGET_KVM_HAVE_GUEST_DEBUGaccel/kvm/kvm-accel-ops.c accel/kvm/kvm-all.c configs/targets/aarch64-softmmu.mak +10 more+7 -320 replies
4/9accel/kvm: Expose all non-target specific declarationsinclude/system/kvm.h+0 -51 reply
5/9target/arm: Compile WHPX as common objecttarget/arm/whpx/meson.build+3 -30 replies
6/9target/arm: Remove target_ulong use in hvf_handle_psci_call()target/arm/hvf/hvf.c+1 -10 replies
7/9target/arm: Compile HVF as common objecttarget/arm/hvf/meson.build target/arm/meson.build+2 -20 replies
8/9target/arm: Remove target_ulong cast in kvm_arm_handle_dabt_nisv()target/arm/kvm.c+1 -20 replies
9/9target/arm: Compile KVM as common objecttarget/arm/meson.build+6 -40 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisPierrick Bouvier
1/9
2/9R-b
3/9R-b
4/9
5/9
6/9R-b
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH-for-11.1 v2 0/9] target/arm: Compile accelerator-related objects as common code

First drop TARGET_KVM_HAVE_GUEST_DEBUG (all targets but MIPS support it), then -- after minor changes -- move the ARM specific accelerator units to target_common_system_arch[] source set, allowing to remove arm_system_ss[] for good.

Since v1:
- Include missing "exec/cpu-common.h" & "qemu/queue.h" headers

(I plan to merge via single-binary tree)

Philippe Mathieu-Daudé (9):
accel/kvm: Include missing 'exec/cpu-common.h' header accel/kvm: Include missing 'exec/vaddr.h' and 'qemu/queue.h' headers accel/kvm: Remove TARGET_KVM_HAVE_GUEST_DEBUG
accel/kvm: Expose all non-target specific declarations target/arm: Compile WHPX as common object
target/arm: Remove target_ulong use in hvf_handle_psci_call() target/arm: Compile HVF as common object
target/arm: Remove target_ulong cast in kvm_arm_handle_dabt_nisv() target/arm: Compile KVM as common object

 configs/targets/aarch64-softmmu.mak     |  1 -
 configs/targets/i386-softmmu.mak        |  1 -
 configs/targets/loongarch64-softmmu.mak |  1 -
 configs/targets/ppc-softmmu.mak         |  1 -
 configs/targets/ppc64-softmmu.mak       |  1 -
 configs/targets/riscv64-softmmu.mak     |  1 -
 configs/targets/s390x-softmmu.mak       |  1 -
 configs/targets/x86_64-softmmu.mak      |  1 -
 include/system/kvm.h                    | 14 ++------------
 include/system/kvm_int.h                |  2 --
 accel/kvm/kvm-accel-ops.c               |  4 ----
 accel/kvm/kvm-all.c                     | 14 +++-----------
 target/arm/hvf/hvf.c                    |  2 +-
 target/arm/kvm.c                        |  3 +--
 target/mips/kvm.c                       |  5 +++++
 target/arm/hvf/meson.build              |  2 +-
 target/arm/meson.build                  | 12 +++++++-----
 target/arm/whpx/meson.build             |  6 +++---
 18 files changed, 23 insertions(+), 49 deletions(-)
Signature · 1 line
2.53.0