This patch set is intended to fix several issues for hibmcge driver:
1. Holding the rtnl_lock in pci_error_handlers->reset_prepare()
may lead to a deadlock issue.
2. A division by zero issue caused by debugfs when the port is down.
3. A probabilistic false positive issue with np_link_fail.
---
ChangeLog:
v1 -> v2:
- Fix a concurrency issue for patch1, suggested by Simon Horman
v1: https://lore.kernel.org/all/20250731134749.4090041-1-shaojijie@huawei.com/
---
Jijie Shao (3):
net: hibmcge: fix rtnl deadlock issue
net: hibmcge: fix the division by zero issue
net: hibmcge: fix the np_link_fail error reporting issue
drivers/net/ethernet/hisilicon/hibmcge/hbg_err.c | 14 +++++---------
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c | 15 +++++++++++++--
drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.h | 3 +++
3 files changed, 21 insertions(+), 11 deletions(-)
--
2.33.0