linux-stable/drivers/net/dsa/mv88e6xxx
Gustav Ekelund 089b91a015 net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit
The force watchdog event bit is not cleared during SW reset in the
mv88e6393x switch. This is a different behavior compared to mv886390 which
clears the force WD event bit as advertised. This causes a force WD event
to be handled over and over again as the SW reset following the event never
clears the force WD event bit.

Explicitly clear the watchdog event register to 0 in irq_action when
handling an event to prevent the switch from sending continuous interrupts.
Marvell aren't aware of any other stuck bits apart from the force WD
bit.

Fixes: de776d0d31 ("net: dsa: mv88e6xxx: add support for mv88e6393x family"
Signed-off-by: Gustav Ekelund <gustaek@axis.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-02 13:32:37 +01:00
..
chip.c net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit 2023-04-02 13:32:37 +01:00
chip.h
devlink.c
devlink.h
global1.c
global1.h
global1_atu.c
global1_vtu.c
global2.c net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit 2023-04-02 13:32:37 +01:00
global2.h net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit 2023-04-02 13:32:37 +01:00
global2_avb.c
global2_scratch.c
hwtstamp.c
hwtstamp.h
Kconfig
Makefile
phy.c
phy.h
port.c
port.h
port_hidden.c
ptp.c
ptp.h
serdes.c
serdes.h
smi.c
smi.h
switchdev.c
switchdev.h
trace.c
trace.h