Re: [PATCH] MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()

From: Thomas Bogendoerfer
Date: Wed May 27 2020 - 07:38:40 EST


On Wed, May 27, 2020 at 02:11:30PM +0800, YuanJunQing wrote:
> Register "a1" is unsaved in this function,
> when CONFIG_TRACE_IRQFLAGS is enabled,
> the TRACE_IRQS_OFF macro will call trace_hardirqs_off(),
> and this may change register "a1".
> The changed register "a1" as argument will be send
> to do_fpe() and do_msa_fpe().
>
> Signed-off-by: YuanJunQing <yuanjunqing66@xxxxxxx>
> ---
> arch/mips/kernel/genex.S | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]