]> www.infradead.org Git - users/dwmw2/linux.git/commit
MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()
authorYuanJunQing <yuanjunqing66@163.com>
Wed, 27 May 2020 06:11:30 +0000 (14:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:32:50 +0000 (09:32 +0200)
commit3b1d53ca55b98ca430fb185eec80fb31167acea7
tree8a1708502a5cc3514b2504fbe445bb30dce014e9
parentc04886ca8e95957ba311893167dc2120c6b1c879
MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()

[ Upstream commit 31e1b3efa802f97a17628dde280006c4cee4ce5e ]

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@163.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/kernel/genex.S