lkml.org 
[lkml]   [2018]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MIPS: Add FP_MODE regset support
Hi Maciej,

On Tue, May 15, 2018 at 03:40:18PM -0700, Maciej Rozycki wrote:
> Define an NT_MIPS_FP_MODE core file note and implement a corresponding
> regset holding the state handled by PR_SET_FP_MODE and PR_GET_FP_MODE
> prctl(2) requests. This lets debug software correctly interpret the
> contents of floating-point general registers both in live debugging and
> in core files, and also switch floating-point modes of a live process.
>
> Signed-off-by: Maciej W. Rozycki <macro@mips.com>
> ---
> NB due to patch conflicts this change relies on the DSP ASE regset series
> <https://patchwork.kernel.org/patch/10402171/> to be applied first.
> ---
> arch/mips/kernel/ptrace.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++
> include/uapi/linux/elf.h | 1
> 2 files changed, 64 insertions(+)

Thanks - applied to mips-next for 4.19, though with NT_MIPS_FP_MODE
changed to 0x801.

Paul

\
 
 \ /
  Last update: 2018-07-19 23:01    [W:0.300 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site