All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] target/arm: Introduce cpu types max-v8 and max-v9
@ 2026-08-27  4:15 Richard Henderson
  2026-08-27  4:15 ` [PATCH v4 1/6] target/arm: Move -cpu max stuff out of cpu32.c Richard Henderson
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Richard Henderson @ 2026-08-27  4:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-arm, pierrick.bouvier, philmd

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.

Pierrick, patch 2 replaces the one you posted using ifdefs.

Changes for v4:
  - Adjust for single-binary.

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

r~

Richard Henderson (6):
  target/arm: Move -cpu max stuff out of cpu32.c
  target/arm: Build cpu32.c once in system mode
  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                        |   5 +-
 hw/arm/sbsa-ref.c                             |   2 +
 hw/arm/virt.c                                 |   2 +
 target/arm/cpu-max.c                          |   4 +-
 target/arm/tcg/cpu-max-v8.c                   | 130 ++++++++++++++
 target/arm/tcg/cpu32.c                        | 116 -------------
 target/arm/tcg/cpu64.c                        | 159 ++++++++++++------
 target/arm/tcg/stubs32.c                      |   7 +-
 tests/qtest/arm-cpu-features.c                |   4 +-
 docs/system/arm/emulation.rst                 |  13 +-
 target/arm/tcg/meson.build                    |  11 +-
 .../aarch64/test_virt_aarch64_off.py          |   4 +-
 12 files changed, 273 insertions(+), 184 deletions(-)
 create mode 100644 target/arm/tcg/cpu-max-v8.c

-- 
2.53.0



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-08-28  9:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27  4:15 [PATCH v4 0/6] target/arm: Introduce cpu types max-v8 and max-v9 Richard Henderson
2026-08-27  4:15 ` [PATCH v4 1/6] target/arm: Move -cpu max stuff out of cpu32.c Richard Henderson
2026-08-27 22:50   ` Pierrick Bouvier
2026-08-28  9:43   ` Philippe Mathieu-Daudé
2026-08-27  4:15 ` [PATCH v4 2/6] target/arm: Build cpu32.c once in system mode Richard Henderson
2026-08-27 16:37   ` Pierrick Bouvier
2026-08-28  7:28   ` Philippe Mathieu-Daudé
2026-08-27  4:15 ` [PATCH v4 3/6] target/arm: Rename and adjust aarch32_max_v8_tcg_initfn Richard Henderson
2026-08-27  4:15 ` [PATCH v4 4/6] target/arm: Introduce cpu types max-v8 and max-v9 Richard Henderson
2026-08-27 15:37   ` Peter Maydell
2026-08-28  7:30   ` Philippe Mathieu-Daudé
2026-08-27  4:15 ` [PATCH v4 5/6] target/arm: Use -cpu max-v8 with aarch64=off Richard Henderson
2026-08-27  4:15 ` [PATCH v4 6/6] target/arm: Separate cpu types max-v8 and max-v9 Richard Henderson
2026-08-27 15:36   ` Peter Maydell
2026-08-28  7:33   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.