Messages in this thread | | | Date | Tue, 26 May 2020 15:05:25 +0200 | From | Thomas Bogendoerfer <> | 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@163.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@163.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 ]
| |