]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: SNI: Fix spurious interrupts
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 16 Sep 2020 13:54:37 +0000 (15:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 06:44:27 +0000 (08:44 +0200)
commit16783098e0c1ffdf0015645bd7602abca23c4fb4
tree700e7561e4d068906407b72bff8d1f96a497daa4
parentcc86580e17c0e4fc3bdc1cebf30be9b6d747314c
MIPS: SNI: Fix spurious interrupts

[ Upstream commit b959b97860d0fee8c8f6a3e641d3c2ad76eab6be ]

On A20R machines the interrupt pending bits in cause register need to be
updated by requesting the chipset to do it. This needs to be done to
find the interrupt cause and after interrupt service. In
commit 0b888c7f3a03 ("MIPS: SNI: Convert to new irq_chip functions") the
function to do after service update got lost, which caused spurious
interrupts.

Fixes: 0b888c7f3a03 ("MIPS: SNI: Convert to new irq_chip functions")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/sni/a20r.c