mbox series

[net-next,0/6] r8169: disable ASPM during NAPI poll

Message ID b434a0ce-9a76-e227-3267-ee26497ec446@gmail.com (mailing list archive)
Headers show
Series r8169: disable ASPM during NAPI poll | expand

Message

Heiner Kallweit March 6, 2023, 9:17 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 8, 2023, 10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Mon, 6 Mar 2023 22:17:28 +0100 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,1/6] r8169: use spinlock to protect mac ocp register access
    https://git.kernel.org/netdev/net-next/c/91c8643578a2
  - [net-next,2/6] r8169: use spinlock to protect access to registers Config2 and Config5
    https://git.kernel.org/netdev/net-next/c/6bc6c4e6893e
  - [net-next,3/6] r8169: enable cfg9346 config register access in atomic context
    https://git.kernel.org/netdev/net-next/c/59ee97c0c1a8
  - [net-next,4/6] r8169: prepare rtl_hw_aspm_clkreq_enable for usage in atomic context
    https://git.kernel.org/netdev/net-next/c/49ef7d846d4b
  - [net-next,5/6] r8169: disable ASPM during NAPI poll
    https://git.kernel.org/netdev/net-next/c/e1ed3e4d9111
  - [net-next,6/6] r8169: remove ASPM restrictions now that ASPM is disabled during NAPI poll
    https://git.kernel.org/netdev/net-next/c/2ab19de62d67

You are awesome, thank you!