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(-) -- 2.38.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel