summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2019-01-28 00:58:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 10:44:25 +0300
commit35709d6424884c90483b61a14708680fc94ab36e (patch)
treeb06285f076941e60b8672bc763e4d337c3a70d3d /fs/nfs
parentec1f9572c841a73335d536c03e324e8dc6c060aa (diff)
downloadlinux-35709d6424884c90483b61a14708680fc94ab36e.tar.xz
gpio: vf610: Mask all GPIO interrupts
[ Upstream commit 7ae710f9f8b2cf95297e7bbfe1c09789a7dc43d4 ] On SoC reset all GPIO interrupts are disable. However, if kexec is used to boot into a new kernel, the SoC does not experience a reset. Hence GPIO interrupts can be left enabled from the previous kernel. It is then possible for the interrupt to fire before an interrupt handler is registered, resulting in the kernel complaining of an "unexpected IRQ trap", the interrupt is never cleared, and so fires again, resulting in an interrupt storm. Disable all GPIO interrupts before registering the GPIO IRQ chip. Fixes: 7f2691a19627 ("gpio: vf610: add gpiolib/IRQ chip driver for Vybrid") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions