Skip to content

target/arm: Allow CONFIG_TCG=n builds

Fabiano Rosas qemu-arm qemu-devel 13 versions – Applied

Status from this message: Applied to target-arm.next; thanks for your persistence in

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest13 patches 23 repliesApplied
  2. v1011 patches 10 repliesSuperseded
  3. v910 patches 2 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v811 patches15 repliesSuperseded
v7 posting 2/29 patches15 repliesSuperseded
v7 posting 1/220 patches1 replySuperseded
v629 patches7 repliesSuperseded
v5 posting 2/228 patches8 repliesSuperseded
v5 RFC posting 1/29 patches8 repliesSuperseded
v4 RFC15 patches29 repliesSuperseded
v3 RFC28 patches42 repliesSuperseded
v2 RFC19 patches19 repliesSuperseded
v1 RFC27 patches15 repliesSuperseded

v10 from the cover letter

Patches in v11 Applied

#Subject and filesSizeRepliesApplied
1/13target/arm: Move cortex sysregs into a separate filetarget/arm/cortex-regs.c target/arm/cpregs.h target/arm/cpu64.c +3 more+77 -651 reply
2/13target/arm: Remove dead code from cpu_max_set_sve_max_vqtarget/arm/cpu64.c+0 -60 replies
3/13target/arm: Extract TCG -cpu max code into a functiontarget/arm/cpu64.c+18 -140 replies
4/13target/arm: Do not expose all -cpu max features to qteststarget/arm/cpu64.c+9 -33 replies
5/13target/arm: Move 64-bit TCG CPUs into tcg/hw/arm/virt.c target/arm/cpu64.c target/arm/internals.h +2 more+735 -6861 reply
6/13tests/qtest: Adjust and document query-cpu-model-expansion test for armtests/qtest/arm-cpu-features.c+17 -36 replies
7/13target/arm: move cpu_tcg to tcg/cpu32.chw/arm/virt.c target/arm/meson.build target/arm/tcg/cpu32.c +2 more+5 -141 reply
8/13tests/qtest: Fix tests when no KVM or TCG are presenttests/qtest/bios-tables-test.c tests/qtest/boot-serial-test.c tests/qtest/migration-test.c +2 more+36 -63 replies
9/13tests/avocado: Pass parameters to migration testtests/avocado/migration.py+78 -50 replies
10/13arm/Kconfig: Always select SEMIHOSTING when TCG is presentconfigs/devices/arm-softmmu/default.mak hw/arm/Kconfig target/arm/Kconfig+7 -30 replies
11/13arm/Kconfig: Do not build TCG-only boards on a KVM-only buildconfigs/devices/aarch64-softmmu/default.mak configs/devices/arm-softmmu/default.mak hw/arm/Kconfig+41 -420 replies
12/13tests/qtest: Restrict tpm-tis-i2c-test to CONFIG_TCGtests/qtest/meson.build+2 -12 replies
13/13gitlab-ci: Check building KVM-only aarch64 target.gitlab-ci.d/crossbuilds.yml .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml+11 -41 reply

Reviews trailers per patch

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

PatchRichard HendersonPhilippe Mathieu-DaudéThomas HuthJuan QuintelaMichael S. Tsirkin
1/13R-b R-b
2/13R-b R-b
3/13R-b R-b
4/13R-b R-b R-b
5/13R-b R-b
6/13A-b
7/13R-b R-b A-b
8/13R-b R-b R-b R-b R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b R-b
13/13R-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 v11 thread

Cover letter [PATCH v11 00/13] target/arm: Allow CONFIG_TCG=n builds

Hi,

Some minor changes:

- new patch to move a test under CONFIG_TCG (broken on master);
- new patch to document the unsupported CPU test (Philippe);
- changed the test skip message when no KVM or TCG are present (Igor).

CI run: https://gitlab.com/farosas/qemu/-/pipelines/849926795

v10:
https://lore.kernel.org/r/[email protected]

v9:
https://lore.kernel.org/r/[email protected]

v8:
https://lore.kernel.org/r/[email protected]

v7 resend:
https://lore.kernel.org/r/[email protected]

v7:
https://lore.kernel.org/r/[email protected]

v6:
https://lore.kernel.org/r/[email protected]

v5 resend:
https://lore.kernel.org/r/[email protected]

v5:
https://lore.kernel.org/r/[email protected]

v4:
https://lore.kernel.org/r/[email protected]

v3:
https://lore.kernel.org/r/[email protected]

v2:
https://lore.kernel.org/r/[email protected]

v1:
https://lore.kernel.org/r/[email protected]

Claudio Fontana (1):
target/arm: move cpu_tcg to tcg/cpu32.c

Fabiano Rosas (11):
target/arm: Move cortex sysregs into a separate file target/arm: Remove dead code from cpu_max_set_sve_max_vq target/arm: Extract TCG -cpu max code into a function target/arm: Do not expose all -cpu max features to qtests target/arm: Move 64-bit TCG CPUs into tcg/
tests/qtest: Adjust and document query-cpu-model-expansion test for
arm
tests/qtest: Fix tests when no KVM or TCG are present tests/avocado: Pass parameters to migration test arm/Kconfig: Always select SEMIHOSTING when TCG is present arm/Kconfig: Do not build TCG-only boards on a KVM-only build tests/qtest: Restrict tpm-tis-i2c-test to CONFIG_TCG

Philippe Mathieu-Daudé (1):
gitlab-ci: Check building KVM-only aarch64 target

 .gitlab-ci.d/crossbuilds.yml                  |  11 +
 .../custom-runners/ubuntu-22.04-aarch64.yml   |   4 -
 configs/devices/aarch64-softmmu/default.mak   |   4 -
 configs/devices/arm-softmmu/default.mak       |  39 -
 hw/arm/Kconfig                                |  43 +-
 hw/arm/virt.c                                 |   6 +-
 target/arm/Kconfig                            |   7 +
 target/arm/cortex-regs.c                      |  69 ++
 target/arm/cpregs.h                           |   6 +
 target/arm/cpu64.c                            | 702 +----------------
 target/arm/internals.h                        |  10 +-
 target/arm/meson.build                        |   2 +-
 target/arm/{cpu_tcg.c => tcg/cpu32.c}         |  72 +-
 target/arm/tcg/cpu64.c                        | 723 ++++++++++++++++++
 target/arm/tcg/meson.build                    |   2 +
 tests/avocado/migration.py                    |  83 +-
 tests/qtest/arm-cpu-features.c                |  20 +-
 tests/qtest/bios-tables-test.c                |  11 +-
 tests/qtest/boot-serial-test.c                |   5 +
 tests/qtest/meson.build                       |   3 +-
 tests/qtest/migration-test.c                  |   9 +-
 tests/qtest/pxe-test.c                        |   8 +-
 tests/qtest/vmgenid-test.c                    |   9 +-
 23 files changed, 1016 insertions(+), 832 deletions(-)
 create mode 100644 target/arm/cortex-regs.c
 rename target/arm/{cpu_tcg.c => tcg/cpu32.c} (93%)
 create mode 100644 target/arm/tcg/cpu64.c
Signature · 1 line
2.35.3