[PATCH v8 00/11] target/arm: Allow CONFIG_TCG=n builds

Fabiano Rosas posted 11 patches 1 year, 1 month ago
Failed in applying to current master (apply log)
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Cleber Rosa <crosa@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <ani@anisinha.ca>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>
There is a newer version of this series
.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/cpu.c                              |  69 +++
target/arm/cpu64.c                            | 399 +---------------
target/arm/gdbstub.c                          |   6 +
target/arm/gdbstub64.c                        |   2 +
target/arm/internals.h                        |   7 +-
target/arm/meson.build                        |   2 +-
target/arm/{cpu_tcg.c => tcg/cpu32.c}         | 141 +-----
target/arm/tcg/cpu64.c                        | 438 ++++++++++++++++++
target/arm/tcg/meson.build                    |   2 +
tests/avocado/migration.py                    |  83 +++-
tests/qtest/arm-cpu-features.c                |  12 +-
tests/qtest/bios-tables-test.c                |  10 +-
tests/qtest/boot-serial-test.c                |  10 +
tests/qtest/migration-test.c                  |   9 +-
tests/qtest/pxe-test.c                        |   7 +-
tests/qtest/vmgenid-test.c                    |   8 +-
25 files changed, 787 insertions(+), 607 deletions(-)
create mode 100644 target/arm/cortex-regs.c
rename target/arm/{cpu_tcg.c => tcg/cpu32.c} (87%)
create mode 100644 target/arm/tcg/cpu64.c
[PATCH v8 00/11] target/arm: Allow CONFIG_TCG=n builds
Posted by Fabiano Rosas 1 year, 1 month ago
Changes since v7:

- patch 8: moved calls to qtest_has_accel after g_test_init to avoid
           the TAP error;

- moved the avocado patch towards the end of the series so we can
  merge the rest without it if needed;

- two new patches to fix regressions due to gdbstub changes.

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

v7 resend:
https://lore.kernel.org/r/20230228192628.26140-1-farosas@suse.de

v7:
https://lore.kernel.org/r/20230223130841.25916-1-farosas@suse.de

v6:
https://lore.kernel.org/r/20230217201150.22032-1-farosas@suse.de

v5 resend:
https://lore.kernel.org/r/20230213202927.28992-1-farosas@suse.de

v5:
https://lore.kernel.org/r/20230120184825.31626-1-farosas@suse.de

v4:
https://lore.kernel.org/r/20230119135424.5417-1-farosas@suse.de

v3:
https://lore.kernel.org/r/20230113140419.4013-1-farosas@suse.de

v2:
https://lore.kernel.org/r/20230109224232.11661-1-farosas@suse.de

v1:
https://lore.kernel.org/r/20230104215835.24692-1-farosas@suse.de

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

Fabiano Rosas (9):
  target/arm: Move cortex sysregs into a separate file
  target/arm: Move 64-bit TCG CPUs into tcg/
  target/arm: Move aa32_max_features out of cpu_tcg.c
  arm/Kconfig: Always select SEMIHOSTING when TCG is present
  arm/Kconfig: Do not build TCG-only boards on a KVM-only build
  tests/qtest: Fix tests when no KVM or TCG are present
  tests/avocado: Pass parameters to migration test
  target/arm: gdbstub: Guard M-profile code with CONFIG_TCG
  target/arm: gdbstub: Guard pauth code with 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/cpu.c                              |  69 +++
 target/arm/cpu64.c                            | 399 +---------------
 target/arm/gdbstub.c                          |   6 +
 target/arm/gdbstub64.c                        |   2 +
 target/arm/internals.h                        |   7 +-
 target/arm/meson.build                        |   2 +-
 target/arm/{cpu_tcg.c => tcg/cpu32.c}         | 141 +-----
 target/arm/tcg/cpu64.c                        | 438 ++++++++++++++++++
 target/arm/tcg/meson.build                    |   2 +
 tests/avocado/migration.py                    |  83 +++-
 tests/qtest/arm-cpu-features.c                |  12 +-
 tests/qtest/bios-tables-test.c                |  10 +-
 tests/qtest/boot-serial-test.c                |  10 +
 tests/qtest/migration-test.c                  |   9 +-
 tests/qtest/pxe-test.c                        |   7 +-
 tests/qtest/vmgenid-test.c                    |   8 +-
 25 files changed, 787 insertions(+), 607 deletions(-)
 create mode 100644 target/arm/cortex-regs.c
 rename target/arm/{cpu_tcg.c => tcg/cpu32.c} (87%)
 create mode 100644 target/arm/tcg/cpu64.c

-- 
2.35.3