qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] target/arm: Support SME2 in gdbstub
@ 2025-10-17 15:30 Peter Maydell
  2025-10-17 15:30 ` [PATCH v2 1/3] target/arm: Implement SME2 support " Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Peter Maydell @ 2025-10-17 15:30 UTC (permalink / raw)
  To: qemu-arm, qemu-devel; +Cc: Richard Henderson, Vacha Bhavsar

This patchseries adds SME2 support to the gdbstub. This is
fairly straightforward as the only thing we need to do is
expose the new ZT0 register in the XML in the way that gdb
documents that we should.

Patch 2 adds the TLS section that we should in theory have
been exposing already; this mostly will become relevant when
gdb implements the SME lazy-state-handling that uses TPIDR2.

Patch 3 is a simple "check reads and writes" test case along
the lines of our existing SME tests.

Changes v1->v2:
 * use static XML for the sme2 section, not dynamic
 * add patch 2 for the tls section
 * tidy up some excessively cut-n-pasted stuff in the
   testcase script

thanks
-- PMM


Peter Maydell (3):
  target/arm: Implement SME2 support in gdbstub
  target/arm: Implement org.gnu.gdb.aarch64.tls XML feature in gdbstub
  tests/tcg/aarch64: Add test case for SME2 gdbstub registers

 configs/targets/aarch64-bsd-user.mak      |   2 +-
 configs/targets/aarch64-linux-user.mak    |   2 +-
 configs/targets/aarch64-softmmu.mak       |   2 +-
 configs/targets/aarch64_be-linux-user.mak |   2 +-
 target/arm/cpu.h                          |   1 +
 target/arm/internals.h                    |   5 +
 target/arm/gdbstub.c                      |  12 +++
 target/arm/gdbstub64.c                    | 115 ++++++++++++++++++++++
 gdb-xml/aarch64-sme2.xml                  |  14 +++
 tests/tcg/aarch64/Makefile.target         |   9 +-
 tests/tcg/aarch64/gdbstub/test-sme2.py    |  36 +++++++
 11 files changed, 195 insertions(+), 5 deletions(-)
 create mode 100644 gdb-xml/aarch64-sme2.xml
 create mode 100644 tests/tcg/aarch64/gdbstub/test-sme2.py

-- 
2.43.0



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

end of thread, other threads:[~2025-10-23 12:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 15:30 [PATCH v2 0/3] target/arm: Support SME2 in gdbstub Peter Maydell
2025-10-17 15:30 ` [PATCH v2 1/3] target/arm: Implement SME2 support " Peter Maydell
2025-10-17 15:45   ` Richard Henderson
2025-10-20 20:13   ` Philippe Mathieu-Daudé
2025-10-17 15:30 ` [PATCH v2 2/3] target/arm: Implement org.gnu.gdb.aarch64.tls XML feature " Peter Maydell
2025-10-17 15:39   ` Richard Henderson
2025-10-17 15:30 ` [PATCH v2 3/3] tests/tcg/aarch64: Add test case for SME2 gdbstub registers Peter Maydell
2025-10-17 15:41   ` Richard Henderson
2025-10-20 20:14   ` Philippe Mathieu-Daudé
2025-10-23 12:51   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).