Re: [PATCH] mscan: fix rx path lockup when returning from polling to irq mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/26/19 7:51 PM, Florian Faber wrote:
> 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.
> 
> Signed-off-by: Florian Faber <faber@xxxxxxxxxxx>

Applied to linux-can. Please consider using git-send-email in the
future, as your mail setup somehow mangles spaces and tabs.

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux