Skip to content

single-binary: Make hw/arm/ common

Philippe Mathieu-Daudé qemu-arm qemu-devel 11 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest17 patches 0 repliesNew
  2. v818 patches 3 repliesSuperseded
  3. v7 posting 2/221 patches 6 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v6 posting 2/220 patches45 repliesSuperseded
v7 posting 1/219 patches9 repliesSuperseded
v6 posting 1/230 patches20 repliesSuperseded
v5 RFC21 patches25 repliesSuperseded
v4 RFC19 patches47 repliesSuperseded
v3 RFC14 patches25 repliesSuperseded
v2 RFC11 patches24 repliesSuperseded
v1 RFC39 patches28 repliesSuperseded

Changes in v9 from the cover letter

- Rebased on top of e28b83116af ("Merge tag 'pull-aspeed-20260526')

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17hw/arm/raspi: Initialize 64-bit CPU types during DeviceRealize()hw/arm/bcm2836.c+5 -50 replies
2/17hw/arm/raspi: Build objects oncehw/arm/bcm2836.c hw/arm/meson.build hw/arm/raspi.c+6 -100 replies
3/17hw/arm/aspeed: Do not realize 64-bit CPU types under QTesthw/arm/aspeed_ast27x0.c+14 -00 replies
4/17hw/arm/aspeed: Build objects oncehw/arm/meson.build+2 -30 replies
5/17hw/arm/meson: Remove now unused arm_ss[] source sethw/arm/meson.build+0 -20 replies
6/17target/arm: Introduce common system/user meson source settarget/arm/meson.build target/arm/tcg/meson.build+26 -430 replies
7/17target/arm: Build gdbstub64.o as common objecttarget/arm/meson.build+3 -10 replies
8/17target/arm: Build cpu64.o as common objecttarget/arm/tcg/meson.build+3 -10 replies
9/17target/arm: Extract common code related to 'max' CPUtarget/arm/cpu-max.c target/arm/meson.build target/arm/tcg/cpu32.c+107 -960 replies
10/17target/arm: Use make_ccsidr(LEGACY) in 32 bit 'max' CPU typetarget/arm/tcg/cpu32.c+7 -30 replies
11/17target/arm: Implement DBGDEVID* registers in max AArch32 CPUtarget/arm/tcg/cpu32.c+3 -00 replies
12/17target/arm: Only set %kvm_target when KVM is enabledtarget/arm/cpu64.c+3 -10 replies
13/17target/arm: Factor aarch64_aa32_a57_init() outtarget/arm/cpu64.c+24 -120 replies
14/17target/arm: Re-use common aarch64_aa32_a57_init() helpertarget/arm/cpu-max.c target/arm/cpu64.c target/arm/internals.h +1 more+77 -1170 replies
15/17target/arm: Define 'max' CPU type in cpu-max.ctarget/arm/cpu-max.c target/arm/cpu64.c target/arm/internals.h +2 more+77 -490 replies
16/17target/arm: Build cpu32-system.o as common objecttarget/arm/tcg/cpu32-system.c target/arm/tcg/meson.build+2 -130 replies
17/17target/arm: Build cpu-max.c oncetarget/arm/cpu-max.c target/arm/meson.build+3 -70 replies

Reviews trailers per patch

All 17 patches have a Reviewed-by or Acked-by.

PatchCédric Le GoaterPierrick BouvierPeter MaydellRichard HendersonManos Pitsidianakis
1/17R-b A-b R-b
2/17R-b A-b R-b R-b
3/17R-b R-b A-b
4/17R-b R-b A-b R-b R-b
5/17R-b A-b R-b
6/17R-b A-b R-b
7/17R-b A-b R-b
8/17R-b A-b R-b
9/17R-b A-b R-b
10/17R-b A-b R-b
11/17R-b A-b R-b
12/17R-b A-b R-b
13/17R-b A-b R-b
14/17R-b A-b R-b
15/17R-b A-b R-b
16/17R-b A-b R-b
17/17R-b A-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.

Read the v9 thread

Cover letter [PATCH v9 00/17] single-binary: Make hw/arm/ common

Series fully reviewed.

Since v8:
- Rebased on top of e28b83116af ("Merge tag 'pull-aspeed-20260526')

Since v7:
- Rebased on top of 8d3e31c0d57 (IDAU interface)

Since v6:
- Do not initialize Aspeed CPU in SoC realize (cdrx)

Since v5:
- Unify 'max' CPU type (rth, pm215)

Since v4:
- Add DEFINE_MACHINE_WITH_INTERFACES (Zoltan)
- Use GPtrArray for get_valid_cpu_type (Richard)
- Define InterfaceInfo[] arrays (Richard)
- Collect R-b tags

Since v3:
- QAPI structure renamed as QemuTargetInfo
- MachineClass::get_valid_cpu_types() runtime
- target_aarch64() checking SysEmuTarget value
- Remove CONFIG_TCG #ifdef'ry in hw/arm/

Since v2:
- More comments from Pierrick addressed
- Use GList to register valid CPUs list
- Remove all TARGET_AARCH64 uses in hw/arm/

Since v1:
- Dropped unrelated / irrelevant patches
- Addressed Pierrick comments
- Added R-b tag
- Only considering machines, not CPUs.

Philippe Mathieu-Daudé (17):
hw/arm/raspi: Initialize 64-bit CPU types during DeviceRealize() hw/arm/raspi: Build objects once
hw/arm/aspeed: Do not realize 64-bit CPU types under QTest hw/arm/aspeed: Build objects once
hw/arm/meson: Remove now unused arm_ss[] source set target/arm: Introduce common system/user meson source set target/arm: Build gdbstub64.o as common object target/arm: Build cpu64.o as common object target/arm: Extract common code related to 'max' CPU target/arm: Use make_ccsidr(LEGACY) in 32 bit 'max' CPU type target/arm: Implement DBGDEVID* registers in max AArch32 CPU target/arm: Only set %kvm_target when KVM is enabled target/arm: Factor aarch64_aa32_a57_init() out target/arm: Re-use common aarch64_aa32_a57_init() helper target/arm: Define 'max' CPU type in cpu-max.c target/arm: Build cpu32-system.o as common object target/arm: Build cpu-max.c once

 target/arm/internals.h                     |   2 +
 hw/arm/aspeed_ast27x0.c                    |  14 ++
 hw/arm/bcm2836.c                           |  14 +-
 hw/arm/raspi.c                             |   4 -
 target/arm/cpu-max.c                       | 241 +++++++++++++++++++++
 target/arm/cpu64.c                         |  80 +------
 target/arm/tcg/{cpu32.c => cpu32-system.c} | 174 +--------------
 target/arm/tcg/stubs32.c                   |  10 +
 hw/arm/meson.build                         |  15 +-
 target/arm/meson.build                     |  26 ++-
 target/arm/tcg/meson.build                 |  57 ++---
 11 files changed, 318 insertions(+), 319 deletions(-)
 create mode 100644 target/arm/cpu-max.c
 rename target/arm/tcg/{cpu32.c => cpu32-system.c} (81%)
Signature · 1 line
2.53.0