[PATCH v2 0/3] realtek: avoid blocking for too long

Sander Vanheule sander at svanheule.net
Tue Dec 27 07:48:39 PST 2022


On Sat, 2022-12-17 at 21:45 +0100, Jan Hoffmann wrote:
> This fixes multiple instances where the realtek drivers may block for
> too long. These issues were discovered on HPE 1920 devices where such
> behaviour is made obvious by the short timeout of the hardware watchdog.
> 
> Changes in v2:
> - remove already applied commits
> - remove redundant log message in rtl83xx_mdio_probe
> - move cond_resched to loops
> - support kernel 5.15
> 
> Jan Hoffmann (3):
>   realtek: simplify log messages in rtl83xx_mdio_probe
>   realtek: restructure rtl_table_read/write
>   realtek: add cond_resched to loops accessing the FDB table
> 
>  .../drivers/net/dsa/rtl83xx/common.c          | 49 ++++++++++++-------
>  .../drivers/net/dsa/rtl83xx/debugfs.c         |  3 ++
>  .../files-5.10/drivers/net/dsa/rtl83xx/dsa.c  |  3 ++
>  .../drivers/net/dsa/rtl83xx/rtl83xx.h         |  4 +-
>  .../drivers/net/dsa/rtl83xx/common.c          | 49 ++++++++++++-------
>  .../drivers/net/dsa/rtl83xx/debugfs.c         |  3 ++
>  .../files-5.15/drivers/net/dsa/rtl83xx/dsa.c  |  3 ++
>  .../drivers/net/dsa/rtl83xx/rtl83xx.h         |  4 +-
>  8 files changed, 76 insertions(+), 42 deletions(-)


Thanks! Merged the three patches to master.

Best,
Sander




More information about the openwrt-devel mailing list