Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Luis <luis.machado.foss@gmail.com>
To: Srinath Parvathaneni <Srinath.Parvathaneni@arm.com>,
	Thiago Jung Bauermann <thiago.bauermann@linaro.org>,
	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
	Eli Zaretskii <eliz@gnu.org>
Cc: Ezra Sitorus <Ezra.Sitorus@arm.com>,
	Matthieu Longo <Matthieu.Longo@arm.com>,
	"peter.maydell@linaro.org" <peter.maydell@linaro.org>
Subject: Re: [PATCH v5 1/5] gdb/aarch64: Add POR_EL0 register support for FEAT_S1POE
Date: Sat, 3 Oct 2026 11:15:53 +0100	[thread overview]
Message-ID: <a4bc6ec7-3366-4f37-a58f-022bed60ec41@gmail.com> (raw)
In-Reply-To: <AS8PR08MB1009956ECACC9D1A9B89863669B832@AS8PR08MB10099.eurprd08.prod.outlook.com>

On 22/09/2026 18:31, Srinath Parvathaneni wrote:
> Ping !!
> ------------------------------------------------------------------------
> *From:* Srinath Parvathaneni <Srinath.Parvathaneni@arm.com>
> *Sent:* 18 September 2026 17:47
> *To:* Thiago Jung Bauermann <thiago.bauermann@linaro.org>; gdb- 
> patches@sourceware.org <gdb-patches@sourceware.org>; Eli Zaretskii 
> <eliz@gnu.org>
> *Cc:* simark@simark.ca <simark@simark.ca>; luis.machado.foss@gmail.com 
> <luis.machado.foss@gmail.com>; guinevere@redhat.com 
> <guinevere@redhat.com>; Ezra Sitorus <Ezra.Sitorus@arm.com>; Matthieu 
> Longo <Matthieu.Longo@arm.com>; peter.maydell@linaro.org 
> <peter.maydell@linaro.org>
> *Subject:* Re: [PATCH v5 1/5] gdb/aarch64: Add POR_EL0 register support 
> for FEAT_S1POE
> Hi,
>  >_______________________________________
>  >From: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
>  >Sent: 18 September 2026 05:45
>  >To: Srinath Parvathaneni <Srinath.Parvathaneni@arm.com>
>  >Cc: gdb-patches@sourceware.org <gdb-patches@sourceware.org>; 
> simark@simark.ca <simark@simark.ca>; luis.machado.foss@gmail.com 
> <luis.machado.foss@gmail.com>; guinevere@redhat.com 
> <guinevere@redhat.com>; Ezra Sitorus <Ezra.Sitorus@arm.com>; Matthieu 
> Longo <Matthieu.Longo@arm.com>; peter.maydell@linaro.org 
> <peter.maydell@linaro.org>
>  >Subject: Re: [PATCH v5 1/5] gdb/aarch64: Add POR_EL0 register support 
> for FEAT_S1POE
>  >
>  >Hello Srinath,
>  >
>  ><srinath.parvathaneni@arm.com> writes:
>  >
>  >> From: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
>  >>
>  >> Add support for the FEAT_S1POE POR_EL0 register on AArch64.
>  >>
>  >> This patch adds POR_EL0 to the AArch64 register set and reads/writes it
>  >> using the NT_ARM_POE ptrace regset.
> ...
>  >>  gdb/features/Makefile        |   1 +
>  >>  gdb/features/aarch64-poe.c   |  14 ++
>  >>  gdb/features/aarch64-poe.xml |  11 ++
>  >>  gdb/nat/aarch64-poe-linux.h  |  30 ++++
>  >>  11 files changed, 450 insertions(+), 1 deletion(-)
>  >>  create mode 100644 gdb/features/aarch64-poe.c
>  >>  create mode 100644 gdb/features/aarch64-poe.xml
>  >>  create mode 100644 gdb/nat/aarch64-poe-linux.h
>  >
>  >Thank you for addressing the review comments and adding the
>  >documentation section.
>  >
>  >There are just a few nits below, but with them fixed:
>  >
>  >Approved-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
>  >
>  >Except for the gdb.texinfo part, which needs to be approved by Eli.
> 
> Thanks Thiago, for the reviews and approval.
> 
> Hi Eli, could you please review the documentation for this patch series,
> thanks.
> 
> Regards,
> Srinath

Here's some feedback on the docs:

1. Typo: "feild" should be "field".

2. The patch hunk ends with the context line "For more information about 
@acronym{FPMR}...". That sentence belongs to the FPMR section. Your new 
@subsubsection sits above it, so the FPMR reference would now land at 
the end of the POE section. Check that the new section goes after that 
paragraph, not before it.

3. Wording of the first paragraph:
    - "debugging the AArch64 architecture" reads oddly. "debugging an 
AArch64 target" is more usual.
    - Drop the "then" in "is available, then @value{GDBN} will".
    - "when displayed using" is a dangling modifier. Try "interprets the 
permissions of each field in @code{por_el0} when displaying it with the 
@code{info registers} command."

4. Examples:
    - Column alignment is inconsistent. por_el0 0x00...07 [ P0=rwx ] 
uses single spaces, while por_p1        0x7        rwx is padded like 
real info registers output. Use the same style in both.
    - The last @smallexample shows info registers por with no output. 
Either show the output, or fold the command into the prose and drop the 
block.

5. Markup:
    - Use @samp{por} or @code{por} when you name the group, so it's 
clear it's a literal group name.
    - You could also write @code{set $por_p1 = 0x7} inline in the prose, 
but the examples are fine as they are.

With those fixed, this is OK.

Approved-By: Luis Machado <luis.machado.foss@gmail.com>

  reply	other threads:[~2026-10-03 10:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-16  9:17 [PATCH v5 0/5] " srinath.parvathaneni
2026-09-16  9:17 ` [PATCH v5 1/5] " srinath.parvathaneni
2026-09-18  4:45   ` Thiago Jung Bauermann
2026-09-18 16:47     ` Srinath Parvathaneni
2026-09-22 17:31       ` Srinath Parvathaneni
2026-10-03 10:15         ` Luis [this message]
2026-10-05 10:17           ` Srinath Parvathaneni
2026-09-16  9:18 ` [PATCH v5 2/5] gdb: Improve SIGSEGV diagnostics for POE faults srinath.parvathaneni
2026-09-16  9:18 ` [PATCH v5 3/5] gdbserver/aarch64: Add POR_EL0 register support srinath.parvathaneni
2026-09-16  9:18 ` [PATCH v5 4/5] gdb/aarch64: Add core file and signal frame support for FEAT_S1POE srinath.parvathaneni
2026-09-16  9:18 ` [PATCH v5 5/5] gdb/testsuite: Add FEAT_S1POE testcases srinath.parvathaneni

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=a4bc6ec7-3366-4f37-a58f-022bed60ec41@gmail.com \
    --to=luis.machado.foss@gmail.com \
    --cc=Ezra.Sitorus@arm.com \
    --cc=Matthieu.Longo@arm.com \
    --cc=Srinath.Parvathaneni@arm.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.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