Skip to content

r8169: disable ASPM during NAPI poll

Heiner Kallweit netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6r8169: use spinlock to protect mac ocp register accessdrivers/net/ethernet/realtek/r8169_main.c+33 -40 repliesApplied
2/6r8169: use spinlock to protect access to registers Config2 and Config5drivers/net/ethernet/realtek/r8169_main.c+37 -100 repliesApplied
3/6r8169: enable cfg9346 config register access in atomic contextdrivers/net/ethernet/realtek/r8169_main.c+16 -20 repliesApplied
4/6r8169: prepare rtl_hw_aspm_clkreq_enable for usage in atomic contextdrivers/net/ethernet/realtek/r8169_main.c+3 -20 repliesApplied
5/6r8169: disable ASPM during NAPI polldrivers/net/ethernet/realtek/r8169_main.c+10 -10 repliesApplied
6/6r8169: remove ASPM restrictions now that ASPM is disabled during NAPI polldrivers/net/ethernet/realtek/r8169_main.c+1 -260 repliesApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchSimon HormanKai-Heng FengHolger Hoffstätte
1/6R-b T-b T-b
2/6R-b T-b T-b
3/6R-b T-b T-b
4/6R-b T-b T-b
5/6R-b T-b T-b
6/6R-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/6] r8169: disable ASPM during NAPI poll

This is a rework of ideas from Kai-Heng on how to avoid the known ASPM issues whilst still allowing for a maximum of ASPM-related power savings. As a prerequisite some locking is added first.

Heiner Kallweit (6):
r8169: use spinlock to protect mac ocp register access
r8169: use spinlock to protect access to registers Config2 and Config5
r8169: enable cfg9346 config register access in atomic context
r8169: prepare rtl_hw_aspm_clkreq_enable for usage in atomic context
r8169: disable ASPM during NAPI poll
r8169: remove ASPM restrictions now that ASPM is disabled during NAPI
poll

 drivers/net/ethernet/realtek/r8169_main.c | 145 +++++++++++++++-------
 1 file changed, 100 insertions(+), 45 deletions(-)
Signature · 1 line
2.39.2