Re: [PATCH] MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs

From: Maciej W. Rozycki
Date: Thu May 24 2018 - 11:59:05 EST


On Thu, 24 May 2018, James Hogan wrote:

> > Use 64-bit accesses for 64-bit floating-point general registers with
> > PTRACE_PEEKUSR, removing the truncation of their upper halves in the
> > FR=1 mode, caused by commit bbd426f542cb ("MIPS: Simplify FP context
> > access"), which inadvertently switched them to using 32-bit accesses.
> >
> > The PTRACE_POKEUSR side is fine as it's never been broken and continues
> > using 64-bit accesses.
> >
> > Cc: <stable@xxxxxxxxxxxxxxx> # 3.19+
>
> should that be 3.15+?

Indeed, I must have used the wrong result; thank you for catching this!

Maciej