Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Timothy Pearson
- Original Message - > From: "Michael Ellerman" > To: "Timothy Pearson" , "Segher Boessenkool" > > Cc: "linuxppc-dev" > Sent: Monday, February 12, 2024 11:23:30 PM > Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/resto

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Michael Ellerman
Timothy Pearson writes: > - Original Message - >> From: "Segher Boessenkool" >> To: "Timothy Pearson" >> Cc: "linuxppc-dev" >> Sent: Monday, February 12, 2024 12:23:22 PM >> Subject: Re: [PATCH] powerpc: Add gpr1 and fpu

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Timothy Pearson
- Original Message - > From: "Segher Boessenkool" > To: "Timothy Pearson" > Cc: "linuxppc-dev" > Sent: Monday, February 12, 2024 12:23:22 PM > Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions > On Mon, Feb 12,

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Segher Boessenkool
On Mon, Feb 12, 2024 at 12:07:03PM -0600, Timothy Pearson wrote: > > I have done it for *all* architectures some ten years ago. Never found > > any problem. > > That makes sense, what I mean by invasive is that we'd need buy-in from the > other > maintainers across all of the affected architectu

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Timothy Pearson
- Original Message - > From: "Segher Boessenkool" > To: "Timothy Pearson" > Cc: "linuxppc-dev" > Sent: Monday, February 12, 2024 11:59:06 AM > Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions > On Mon, Feb 12,

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Segher Boessenkool
On Mon, Feb 12, 2024 at 11:46:19AM -0600, Timothy Pearson wrote: > Interesting, that make sense. > > How should we proceed from the current situation? Bringing in libgcc seems > like a fairly invasive change, I have done it for *all* architectures some ten years ago. Never found any problem. >

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Timothy Pearson
- Original Message - > From: "Segher Boessenkool" > To: "Timothy Pearson" > Cc: "linuxppc-dev" > Sent: Monday, February 12, 2024 11:30:43 AM > Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions > > Long long t

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Segher Boessenkool
On Mon, Feb 12, 2024 at 11:09:38AM -0600, Timothy Pearson wrote: > There is existing code in the kernel right now to provide support functions > for gpr0 and altivec save/restore. I don't know the full story here, but at > some point in the kernel's history it seems to have been decided to provi

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Timothy Pearson
- Original Message - > From: "Segher Boessenkool" > To: "Timothy Pearson" > Cc: "linuxppc-dev" > Sent: Monday, February 12, 2024 11:02:07 AM > Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions > On Mon, Feb 12,

Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions

2024-02-12 Thread Segher Boessenkool
On Mon, Feb 12, 2024 at 10:41:18AM -0600, Timothy Pearson wrote: > Implement gpr1 and fpu save/restore functions per the ABI v2 documentation. There is no "ABI v2". This is the ELFv2 ABI, it is a name, it is not a version 2 of anything (in fact, it is version 1 everywhere). The same functions ar