Skip to content

r8169: mark device as detached in PCI D3 and improve locking

Heiner Kallweit netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net: core: try to runtime-resume detached device in __dev_opennet/core/dev.c+8 -20 replies
2/7r8169: mark device as not present when in PCI D3drivers/net/ethernet/realtek/r8169_main.c+14 -110 replies
3/7r8169: remove no longer needed checks for device being runtime-activedrivers/net/ethernet/realtek/r8169_main.c+6 -480 replies
4/7r8169: add rtl8169_updrivers/net/ethernet/realtek/r8169_main.c+16 -320 replies
5/7r8169: use RTNL to protect critical sectionsdrivers/net/ethernet/realtek/r8169_main.c+8 -00 replies
6/7r8169: remove driver-specific mutexdrivers/net/ethernet/realtek/r8169_main.c+0 -450 replies
7/7r8169: improve rtl8169_runtime_resumedrivers/net/ethernet/realtek/r8169_main.c+3 -100 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJakub Kicinski
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/7] r8169: mark device as detached in PCI D3 and improve locking

Mark the netdevice as detached whenever parent is in PCI D3hot and not accessible. This mainly applies to runtime-suspend state. In addition take RTNL lock in suspend calls, this allows to remove the driver-specific mutex and improve PM callbacks in general.

Heiner Kallweit (7):
net: core: try to runtime-resume detached device in __dev_open
r8169: mark device as not present when in PCI D3
r8169: remove no longer needed checks for device being runtime-active
r8169: add rtl8169_up
r8169: use RTNL to protect critical sections
r8169: remove driver-specific mutex
r8169: improve rtl8169_runtime_resume

 drivers/net/ethernet/realtek/r8169_main.c | 181 +++++-----------------
 net/core/dev.c                            |  10 +-
 2 files changed, 49 insertions(+), 142 deletions(-)
Signature · 1 line
2.27.0