diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-04-30 15:56:47 +0100 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-05-14 23:54:25 +0100 |
commit | 71e909c0cdad28a1df1fa14442929e68615dee45 (patch) | |
tree | 7b01e10ca233ba665dc4b2c883e661ff68cc4d23 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | c60128ce97674fd05adb8b5ae79eb6745a03192e (diff) |
MIPS: ptrace: Expose FIR register through FP regset
Correct commit 7aeb753b5353 ("MIPS: Implement task_user_regset_view.")
and expose the FIR register using the unused 4 bytes at the end of the
NT_PRFPREG regset. Without that register included clients cannot use
the PTRACE_GETREGSET request to retrieve the complete FPU register set
and have to resort to one of the older interfaces, either PTRACE_PEEKUSR
or PTRACE_GETFPREGS, to retrieve the missing piece of data. Also the
register is irreversibly missing from core dumps.
This register is architecturally hardwired and read-only so the write
path does not matter. Ignore data supplied on writes then.
Fixes: 7aeb753b5353 ("MIPS: Implement task_user_regset_view.")
Signed-off-by: James Hogan <jhogan@kernel.org>
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.13+
Patchwork: https://patchwork.linux-mips.org/patch/19273/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions