[PATCH v3 0/4] target/arm: Introduce cpu types max-v8 and max-v9

Richard Henderson posted 4 patches 9 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260825213000.221822-1-richard.henderson@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, Leif Lindholm <leif.lindholm@oss.qualcomm.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
target/arm/internals.h                        |   4 +-
hw/arm/sbsa-ref.c                             |   2 +
hw/arm/virt.c                                 |   2 +
target/arm/cpu-max.c                          |   4 +-
target/arm/tcg/cpu32.c                        |   8 +-
target/arm/tcg/cpu64.c                        | 160 ++++++++++++------
target/arm/tcg/stubs32.c                      |   2 +-
tests/qtest/arm-cpu-features.c                |   4 +-
docs/system/arm/emulation.rst                 |  13 +-
.../aarch64/test_virt_aarch64_off.py          |   4 +-
10 files changed, 139 insertions(+), 64 deletions(-)
[PATCH v3 0/4] target/arm: Introduce cpu types max-v8 and max-v9
Posted by Richard Henderson 9 hours ago
This is something that we've talked about for quite some time,
having separate "max" cpu types for Armv{8,9}, because Armv9
prohibits some deprecated Armv8 features.  Retaining all features
simultaneously has the potential to cause confusion.

Changes for v3:
  - Several patches merged.
  - max-v8 is also present for qemu-{system-}arm.

I realize the registration of -cpu max-v8 will need adjustment
for single-binary, but in the short term I've used an ifdef.


r~


Richard Henderson (4):
  target/arm: Rename and adjust aarch32_max_v8_tcg_initfn
  target/arm: Introduce cpu types max-v8 and max-v9
  target/arm: Use -cpu max-v8 with aarch64=off
  target/arm: Separate cpu types max-v8 and max-v9

 target/arm/internals.h                        |   4 +-
 hw/arm/sbsa-ref.c                             |   2 +
 hw/arm/virt.c                                 |   2 +
 target/arm/cpu-max.c                          |   4 +-
 target/arm/tcg/cpu32.c                        |   8 +-
 target/arm/tcg/cpu64.c                        | 160 ++++++++++++------
 target/arm/tcg/stubs32.c                      |   2 +-
 tests/qtest/arm-cpu-features.c                |   4 +-
 docs/system/arm/emulation.rst                 |  13 +-
 .../aarch64/test_virt_aarch64_off.py          |   4 +-
 10 files changed, 139 insertions(+), 64 deletions(-)

-- 
2.53.0