From: Eli Zaretskii <eliz@gnu.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: gdb-patches@sourceware.org, thiago.bauermann@linaro.org,
luis.machado.foss@gmail.com, manos.pitsidianakis@linaro.org
Subject: Re: [PATCH] docs: Clarify gdb remote protocol AArch64 SVE and SME handling
Date: Fri, 30 Jan 2026 13:37:04 +0200 [thread overview]
Message-ID: <86zf5v8h7j.fsf@gnu.org> (raw)
In-Reply-To: <20260129181122.1426596-1-peter.maydell@linaro.org> (message from Peter Maydell on Thu, 29 Jan 2026 18:11:21 +0000)
> From: Peter Maydell <peter.maydell@linaro.org>
> Cc: Thiago Jung Bauermann <thiago.bauermann@linaro.org>,
> Luis <luis.machado.foss@gmail.com>,
> Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
> Date: Thu, 29 Jan 2026 18:11:21 +0000
>
> The documentation of the AArch64 target features for the gdb remote
> protocol has some areas where it is unclear about SVE and SME:
>
> * it doesn't say what to do if the target has only SME
>
> * it isn't clear about what the org.gnu.gdb.aarch64.sve vector
> register size should be when both SME and SVE are present
>
> Clarify/correct the documentation:
>
> * org.gnu.gdb.aarch64.sve is effectively "the feature for the z
> vector registers", and must be provided even when the target only
> implements SME (because the z registers exist in an SME only CPU)
>
> * the z register size and the 'vg' pseudoregister in
> org.gnu.gdb.aarch64.sve follow the architectural "effective SVE
> vector length", which might be either the non-streaming SVE vector
> length or the streaming SVE vector length
>
> Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
> ---
> gdb/doc/gdb.texinfo | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
Thanks.
> +@samp{vg} represents the size of the @samp{z} registers, and is what
> +the Arm architecture defines as the ``Effective SVE vector length''. That
I suggest to put the terminology you mention in @dfn instead of
quoting it. It will be formatted as a quoted string in Info, but will
look much prettier in HTML and PDF formats.
Also, please leave two spaces between sentences, here and elsewhere in
the patch.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
prev parent reply other threads:[~2026-01-30 11:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-29 18:11 Peter Maydell
2026-01-29 23:13 ` Luis
2026-01-30 9:36 ` Peter Maydell
2026-02-02 23:41 ` Luis
2026-02-09 9:36 ` Peter Maydell
2026-02-13 11:39 ` Luis
2026-02-13 12:15 ` Peter Maydell
2026-03-19 13:41 ` Peter Maydell
2026-03-20 3:02 ` Thiago Jung Bauermann
2026-03-20 9:25 ` Peter Maydell
2026-01-30 11:37 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zf5v8h7j.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=luis.machado.foss@gmail.com \
--cc=manos.pitsidianakis@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=thiago.bauermann@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox