Re: [PATCH v4 0/6] GDB: aarch64-linux: Some header fixes

Thiago Jung Bauermann
2026-03-17T23:43:55Z

Simon Marchi <simark@simark.ca> writes:

> On 2026-03-16 22:29, Thiago Jung Bauermann wrote:
>> Hello,
>>
>> Luis <luis.machado.foss@gmail.com> writes:
>>
>>> Thanks. I think v4 is good.
>>
>> Thank you! I waited a bit to see if Simon wanted to chime in again on
>> the discussion about using struct user_pac_mask in patch 1. I'll create
>> an RFC patch implementing that idea and post it separately.
>
> It's just an idea, do it if you think it makes sense and it's not too
> complicated. I thought it could help show that the magic size doesn't
> come from nowhere. But there is not advantage beyond that.

Thank you. I experimented with it but im my view it's not worth the
extra configure boilerplate.

Unlike the GCS code which actually uses the struct user_gcs definition,
the PAuth register fetching/writing code uses a two-element array of
uint64_t and would benefit little from a rewrite to use members of
struct user_pac_mask instead.
--
Thiago