aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-02-28 19:39:41 +0000
committerDavid S. Miller <davem@davemloft.net>2020-02-29 21:46:08 -0800
commit0395823b8d9a4d87bd1bf74359123461c2ae801b (patch)
tree93db2b5faca8667bc026f2a234219300e39ec8cb /net
parentatm: nicstar: fix if-statement empty body warning (diff)
downloadlinux-dev-0395823b8d9a4d87bd1bf74359123461c2ae801b.tar.xz
linux-dev-0395823b8d9a4d87bd1bf74359123461c2ae801b.zip
net: dsa: mv88e6xxx: fix lockup on warm boot
If the switch is not hardware reset on a warm boot, interrupts can be left enabled, and possibly pending. This will cause us to enter an infinite loop trying to service an interrupt we are unable to handle, thereby preventing the kernel from booting. Ensure that the global 2 interrupt sources are disabled before we claim the parent interrupt. Observed on the ZII development revision B and C platforms with reworked serdes support, and using reboot -f to reboot the platform. Fixes: dc30c35be720 ("net: dsa: mv88e6xxx: Implement interrupt support.") Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions