Re: [PATCH] MIPS: Add FP_MODE regset support
From: Paul Burton
Date: Thu Jul 19 2018 - 17:00:20 EST
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@xxxxxxxx>
> ---
> 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