Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2021-07-18 Thread Radu Rendec
On Fri, 2021-06-11 at 10:37 -0400, Radu Rendec wrote: >On Fri, 2021-06-11 at 08:02 +0200, Christophe Leroy wrote: >>Le 19/06/2019 à 14:57, Radu Rendec a écrit : >>> On Wed, 2019-06-19 at 10:36 +1000, Daniel Axtens wrote: Andreas Schwab < sch...@linux-m68k.org > writes: > On J

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2021-06-11 Thread Radu Rendec
On Fri, 2021-06-11 at 08:02 +0200, Christophe Leroy wrote: >Le 19/06/2019 à 14:57, Radu Rendec a écrit : >> On Wed, 2019-06-19 at 10:36 +1000, Daniel Axtens wrote: >>> Andreas Schwab < >>> sch...@linux-m68k.org writes: >>> On Jun 18 2019, Radu Rendec < radu.ren...@gmail.com > wro

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2021-06-10 Thread Christophe Leroy
Le 19/06/2019 à 14:57, Radu Rendec a écrit : On Wed, 2019-06-19 at 10:36 +1000, Daniel Axtens wrote: Andreas Schwab < sch...@linux-m68k.org writes: On Jun 18 2019, Radu Rendec < radu.ren...@gmail.com wrote: Since you already have a working setup, it would be nice if you could add a pr

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-19 Thread Radu Rendec
On Wed, 2019-06-19 at 10:36 +1000, Daniel Axtens wrote: > Andreas Schwab < > sch...@linux-m68k.org > > writes: > > > On Jun 18 2019, Radu Rendec < > > radu.ren...@gmail.com > > > wrote: > > > > > Since you already have a working setup, it would be nice if you could > > > add a printk to arch_ptra

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-18 Thread Daniel Axtens
Andreas Schwab writes: > On Jun 18 2019, Radu Rendec wrote: > >> Since you already have a working setup, it would be nice if you could >> add a printk to arch_ptrace() to print the address and confirm what I >> believe happens (by reading the gdb source code). > > A ppc32 ptrace syscall goes thr

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-18 Thread Andreas Schwab
On Jun 18 2019, Radu Rendec wrote: > Since you already have a working setup, it would be nice if you could > add a printk to arch_ptrace() to print the address and confirm what I > believe happens (by reading the gdb source code). A ppc32 ptrace syscall goes through compat_arch_ptrace. Andreas.

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-18 Thread Radu Rendec
On Tue, 2019-06-18 at 16:42 +1000, Daniel Axtens wrote: > Radu Rendec < > radu.ren...@gmail.com > > writes: > > > On Mon, 2019-06-17 at 11:19 +1000, Daniel Axtens wrote: > > > Radu Rendec < > > > radu.ren...@gmail.com > > > > > > > writes: > > > > Hi Everyone, > > > > > > > > I'm following up on

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-17 Thread Daniel Axtens
Radu Rendec writes: > On Mon, 2019-06-17 at 11:19 +1000, Daniel Axtens wrote: >> Radu Rendec < >> radu.ren...@gmail.com >> > writes: >> >> > Hi Everyone, >> > >> > I'm following up on the ptrace() problem that I reported a few days ago. >> > I believe my version of the code handles all cases co

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-16 Thread Radu Rendec
On Mon, 2019-06-17 at 11:19 +1000, Daniel Axtens wrote: > Radu Rendec < > radu.ren...@gmail.com > > writes: > > > Hi Everyone, > > > > I'm following up on the ptrace() problem that I reported a few days ago. > > I believe my version of the code handles all cases correctly. While the > > problem e

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-16 Thread Daniel Axtens
Radu Rendec writes: > Hi Everyone, > > I'm following up on the ptrace() problem that I reported a few days ago. > I believe my version of the code handles all cases correctly. While the > problem essentially boils down to dividing the fpidx by 2 on PPC32, it > becomes tricky when the same code mu

Re: [PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-13 Thread Daniel Axtens
Radu Rendec writes: > Hi Everyone, > > I'm following up on the ptrace() problem that I reported a few days ago. > I believe my version of the code handles all cases correctly. While the > problem essentially boils down to dividing the fpidx by 2 on PPC32, it > becomes tricky when the same code mu

[PATCH 0/1] PPC32: fix ptrace() access to FPU registers

2019-06-10 Thread Radu Rendec
Hi Everyone, I'm following up on the ptrace() problem that I reported a few days ago. I believe my version of the code handles all cases correctly. While the problem essentially boils down to dividing the fpidx by 2 on PPC32, it becomes tricky when the same code must work correctly on both PPC32 a