linux_dsm_epyc7002/drivers/net/can
Florian Faber 2d77bd61a2 can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode
Under load, the RX side of the mscan driver can get stuck while TX still
works. Restarting the interface locks up the system. This behaviour
could be reproduced reliably on a MPC5121e based system.

The patch fixes the return value of the NAPI polling function (should be
the number of processed packets, not constant 1) and the condition under
which IRQs are enabled again after polling is finished.

With this patch, no more lockups were observed over a test period of ten
days.

Fixes: afa17a500a ("net/can: add driver for mscan family & mpc52xx_mscan")
Signed-off-by: Florian Faber <faber@faberman.de>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2020-01-02 15:34:27 +01:00
..
c_can
cc770
ifi_canfd
m_can can: tcan4x5x: tcan4x5x_parse_config(): fix inconsistent IS_ERR and PTR_ERR 2020-01-02 15:34:26 +01:00
mscan can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode 2020-01-02 15:34:27 +01:00
peak_canfd
rcar
sja1000
softing
spi
usb can: gs_usb: gs_usb_probe(): use descriptors of current altsetting 2020-01-02 15:34:27 +01:00
at91_can.c
dev.c
flexcan.c can: flexcan: poll MCR_LPM_ACK instead of GPR ACK for stop mode acknowledgment 2019-12-08 12:21:35 +01:00
grcan.c
janz-ican3.c
Kconfig
kvaser_pciefd.c
led.c
Makefile
pch_can.c
rx-offload.c
slcan.c
sun4i_can.c
ti_hecc.c
vcan.c
vxcan.c
xilinx_can.c can: xilinx_can: Fix missing Rx can packets on CANFD2.0 2019-12-08 11:52:02 +01:00