All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] target/arm: Allow SME-only TCG CPUs
@ 2026-01-29 11:34 Peter Maydell
  2026-01-29 11:34 ` [PATCH v2 1/6] target/arm: Account for SME in aarch64_sve_narrow_vq() assertion Peter Maydell
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Peter Maydell @ 2026-01-29 11:34 UTC (permalink / raw)
  To: qemu-arm, qemu-devel; +Cc: Richard Henderson, Manos Pitsidianakis

These patches add support to TCG for a CPU with SME but not SVE.  We
originally prevented users from doing that in the run-up to a
release, in commit f7767ca30179 ("target/arm: Disable SME if SVE is
disabled") by forcing SME to off if SVE wasn't implemented.  This was
a simple way to avoid users hitting an assertion failure.

Changes since v1:
 * reorder patches to put the ones that affect SME+SVE
   CPUs and are worth backporting to stable first
 * change approach to fixing the smcr_write() assertion
 * fix a non-SME-aware assert in aarch64_sve_narrow_vq()
 * correct a bug in how we report the vector registers in
   the gdbstub: this fixes the problem where gdb hit an
   internal error when we emulate SME-only CPU
 * squash FEAT_SME_FA64 on SME-only CPUs

This has still not really had a great deal of testing, but
I think it's now good enough to remove the RFC tag.

thanks
-- PMM

Peter Maydell (6):
  target/arm: Account for SME in aarch64_sve_narrow_vq() assertion
  target/arm: Report correct vector width in gdbstub when SME present
  target/arm: Handle SME-only CPUs in sve_vqm1_for_el_sm()
  target/arm: Handle SME-without-SVE on change of EL
  target/arm: Squash FEAT_SME_FA64 if FEAT_SVE is not present
  target/arm: Permit configurations with SME but not SVE

 docs/system/arm/cpu-features.rst | 10 ++++++++--
 target/arm/cpu.c                 | 10 ----------
 target/arm/cpu64.c               |  5 +++++
 target/arm/gdbstub64.c           | 12 ++++++------
 target/arm/helper.c              | 14 ++++++++++----
 target/arm/internals.h           |  9 +++++++++
 6 files changed, 38 insertions(+), 22 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2026-02-02  5:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-29 11:34 [PATCH v2 0/6] target/arm: Allow SME-only TCG CPUs Peter Maydell
2026-01-29 11:34 ` [PATCH v2 1/6] target/arm: Account for SME in aarch64_sve_narrow_vq() assertion Peter Maydell
2026-01-29 11:43   ` Philippe Mathieu-Daudé
2026-01-29 14:25   ` Alex Bennée
2026-02-02  5:21   ` Richard Henderson
2026-01-29 11:34 ` [PATCH v2 2/6] target/arm: Report correct vector width in gdbstub when SME present Peter Maydell
2026-01-29 11:44   ` Philippe Mathieu-Daudé
2026-01-29 14:36   ` Alex Bennée
2026-01-29 11:34 ` [PATCH v2 3/6] target/arm: Handle SME-only CPUs in sve_vqm1_for_el_sm() Peter Maydell
2026-01-29 14:56   ` Alex Bennée
2026-02-02  5:31   ` Richard Henderson
2026-01-29 11:34 ` [PATCH v2 4/6] target/arm: Handle SME-without-SVE on change of EL Peter Maydell
2026-01-29 11:47   ` Philippe Mathieu-Daudé
2026-01-29 14:57   ` Alex Bennée
2026-01-29 11:34 ` [PATCH v2 5/6] target/arm: Squash FEAT_SME_FA64 if FEAT_SVE is not present Peter Maydell
2026-02-02  5:32   ` Richard Henderson
2026-01-29 11:34 ` [PATCH v2 6/6] target/arm: Permit configurations with SME but not SVE Peter Maydell
2026-01-29 15:59   ` Alex Bennée

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.