diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-05-16 16:39:58 +0100 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-05-24 14:03:14 +0100 |
commit | c7e814628df65f424fe197dde73bfc67e4a244d7 (patch) | |
tree | 50b12208b6edd6f5953348eee071493e7cfe5e30 /drivers | |
parent | 28e4213dd331e944e7fca1954a946829162ed9d4 (diff) | |
download | linux-c7e814628df65f424fe197dde73bfc67e4a244d7.tar.bz2 |
MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs
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.
Fixes: bbd426f542cb ("MIPS: Simplify FP context access")
Signed-off-by: Maciej W. Rozycki <macro@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 3.15+
Patchwork: https://patchwork.linux-mips.org/patch/19334/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions