[PATCH net v2 0/3] igb: fix runtime PM resume issues

From
Antonio Quartulli <antonio@mandelbit.com>
Date
2026-11-16 15:30:58
Also in
intel-wired-lan, lkml
igb can be runtime suspended when the link goes down (with
power/control set to auto). Resuming it calls functions that need RTNL
without holding it (patches 1 and 2), and devices that can't signal a
wake-up are suspended anyway, so their port stays down when the link
comes back (patch 3).

Tested with the 82576 emulated by QEMU.

Changes in v2:
- patch 1: keep setting the queue counts in __igb_open(), only skipping
  them on runtime resume (Sashiko)
- mention the tested hardware in the commit messages

v1: https://lore.kernel.org/netdev/20261113105835.3821433-1-antonio@mandelbit.com/ (local)

Antonio Quartulli (3):
  igb: fix RTNL assertion when resuming from runtime suspend
  igb: link queues to NAPIs under RTNL after runtime resume
  igb: only allow runtime PM if the device can wake up

 drivers/net/ethernet/intel/igb/igb.h      |  1 +
 drivers/net/ethernet/intel/igb/igb_main.c | 69 ++++++++++++++++++-----
 2 files changed, 57 insertions(+), 13 deletions(-)

-- 
2.56.0
Thread (4 messages) 4 messages, 1 author, last reply 4h ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help