Re: [RFC PATCH 12/18] aarch64: fix AARCH64_FLOAT_STATE save/restore and setstatus alignment

Paulo Fernando Barbosa Duarte <[email protected]>
Newsgroups gmane.os.hurd.bugs
Message-ID <[email protected]>

> On 24 May 2026, at 21:55, Jessica Clarke <[email protected]> wrote:
> 
> On 24 May 2026, at 02:43, Paulo Duarte <[email protected] <mailto:[email protected]>> wrote:
>> 
>> Two latent bugs in the aarch64 FPU state plumbing, both surfaced
>> the first time an aarch64 thread_get_state / thread_set_state
>> caller exercised AARCH64_FLOAT_STATE.
> 
> Call me old fashioned, but have one commit per bug?

Still trying to get my head around on the granularity of the commits, these two bugs
sufrace in the same exercise path and are quite related, so I though why not. Happy
to split this in two for v2.
P.S.: If you were being sarcastic and I didn’t get it, joke’s on me. :)


> Would it not be more appropriate to fix MIG to respect alignment
> requirements rather than hack around it by ignoring the unaligned data?

That’s definitely the right way of doing it, will look at that, but am afraid I will be going
down a rabbit hole.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.