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>,
	Matthieu Longo <Matthieu.Longo@arm.com>,
	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Cc: "guinevere@redhat.com" <guinevere@redhat.com>,
	"thiago.bauermann@linaro.org" <thiago.bauermann@linaro.org>,
	Ezra Sitorus <Ezra.Sitorus@arm.com>,
	"simark@simark.ca" <simark@simark.ca>
Subject: Re: [PATCH v3 2/5] [PATCH 2/5] gdb: Improve SIGSEGV diagnostics for POE faults
Date: Sat, 25 Jul 2026 08:39:22 +0100	[thread overview]
Message-ID: <e7ea7c3d-fd84-404d-b726-cebf9d1dfebb@gmail.com> (raw)
In-Reply-To: <AS8PR08MB1009915869FFF60CBB8DA52679BC02@AS8PR08MB10099.eurprd08.prod.outlook.com>

On 23/07/2026 10:03, Srinath Parvathaneni wrote:
>  >
>  >>>> +  /* For POE SEGSEGV, show additional information.  */
>  >>>
>  >>> Is this really supposed to be POE SEGSEGV or is it a typo?
>  >>>
>  >>
>  >> For now, in my knowledge, AARCH64_SEGV_PKUERR is only used for POE.
>  >> However, it will also be used soon for another upcoming feature.
>  >> I would recommend to either simply eliminate the comment, or make it 
> more clear like
>  >>
>  >> /* For memory permission faults, e.g. due to a permission overlay
>  >>     restriction when feature POE is enabled.  */
>  >>
>  >> Matthieu
>  >
>  >Sorry, I may not have been clear, but I was referring specifically to
>  >the SEGSEGV. Should it be SIGSEGV instead?
> 
> Yes Luis, that's a typo. It should be SIGSEGV instead of SEGSEGV, thanks for
> spotting it, I will update in the re-spin.
> 

Got it. Thanks.

> Regarding the comment itself, while SIGSEGV already implies a memory fault,
> AARCH64_SEGV_PKUERR is currently only generated for Permission Overlay
> violations. I think something like following would be more accurate 
> description.
> 
> /* Additional information for SIGSEGV caused by a permission overlay 
> violation.  */

Yes, I think that reads a bit better.

  reply	other threads:[~2026-07-25  7:39 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14 20:15 [PATCH v3 0/5] gdb/aarch64: Add POR_EL0 register support for FEAT_S1POE srinath.parvathaneni
2026-07-14 20:15 ` [PATCH v3 1/5] [PATCH 1/5] " srinath.parvathaneni
2026-07-21 19:53   ` Luis
2026-07-25  6:20     ` Thiago Jung Bauermann
2026-07-25  7:37       ` Luis
2026-07-25 18:44         ` Thiago Jung Bauermann
2026-07-21 20:25   ` Luis
2026-07-23  9:29     ` Srinath Parvathaneni
2026-07-25  6:13       ` Thiago Jung Bauermann
2026-07-25  7:29         ` Luis
2026-07-14 20:15 ` [PATCH v3 2/5] [PATCH 2/5] gdb: Improve SIGSEGV diagnostics for POE faults srinath.parvathaneni
2026-07-21 20:30   ` Luis
2026-07-22  9:41     ` Matthieu Longo
2026-07-22 23:11       ` Luis
2026-07-23  9:03         ` Srinath Parvathaneni
2026-07-25  7:39           ` Luis [this message]
2026-07-14 20:15 ` [PATCH v3 3/5] [PATCH 3/5] gdbserver/aarch64: Add POR_EL0 register support srinath.parvathaneni
2026-07-14 20:15 ` [PATCH v3 4/5] [PATCH 4/5] gdb/aarch64: Add core file support for FEAT_S1POE srinath.parvathaneni
2026-07-21 20:14   ` Luis
2026-07-14 20:15 ` [PATCH v3 5/5] [PATCH 5/5] gdb/testsuite: Add FEAT_S1POE testcases srinath.parvathaneni
2026-07-21 20:38   ` Luis
2026-07-25  6:23   ` Thiago Jung Bauermann

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=e7ea7c3d-fd84-404d-b726-cebf9d1dfebb@gmail.com \
    --to=luis.machado.foss@gmail.com \
    --cc=Ezra.Sitorus@arm.com \
    --cc=Matthieu.Longo@arm.com \
    --cc=Srinath.Parvathaneni@arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=guinevere@redhat.com \
    --cc=simark@simark.ca \
    --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