netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 net 0/3] There are some bugfix for hibmcge ethernet driver
@ 2025-08-06 10:27 Jijie Shao
  2025-08-06 10:27 ` [PATCH V3 net 1/3] net: hibmcge: fix rtnl deadlock issue Jijie Shao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jijie Shao @ 2025-08-06 10:27 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, andrew+netdev, horms
  Cc: shenjian15, liuyonglong, chenhao418, jonathan.cameron,
	shameerali.kolothum.thodi, salil.mehta, netdev, linux-kernel,
	shaojijie

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:
v2 -> v3:
  - Use READ_ONCE() to read temporary variable, suggested by Jakub Kicinski
  v2: https://lore.kernel.org/all/20250805181446.3deaceb9@kernel.org/
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 |  7 ++++++-
 3 files changed, 24 insertions(+), 12 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-08 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-06 10:27 [PATCH V3 net 0/3] There are some bugfix for hibmcge ethernet driver Jijie Shao
2025-08-06 10:27 ` [PATCH V3 net 1/3] net: hibmcge: fix rtnl deadlock issue Jijie Shao
2025-08-06 10:27 ` [PATCH V3 net 2/3] net: hibmcge: fix the division by zero issue Jijie Shao
2025-08-06 10:27 ` [PATCH V3 net 3/3] net: hibmcge: fix the np_link_fail error reporting issue Jijie Shao
2025-08-08 19:00 ` [PATCH V3 net 0/3] There are some bugfix for hibmcge ethernet driver patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).