[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200526130525.GC8487@alpha.franken.de>
Date: Tue, 26 May 2020 15:05:25 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Lichao Liu <liulichao@...ngson.cn>
Cc: YuanJunQing <yuanjunqing66@....com>, paulburton@...nel.org,
chenhc@...ote.com, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: Fix IRQ tracing when call handle_fpe()
On Tue, May 26, 2020 at 02:03:14PM +0800, Lichao Liu wrote:
> From: YuanJunQing <yuanjunqing66@....com>
>
> 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 variment of register "a1" may send SIGFPE signal
> to task when call do_fpe(),and this may kill the task.
>
> Signed-off-by: YuanJunQing <yuanjunqing66@....com>
if you send patches from other people, please add your
Signed-off-by.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists