Netdev List
 help / color / mirror / Atom feed
* [PATCH RFC 0/6] r8169: disable ASPM during NAPI poll
@ 2023-02-25 21:43 Heiner Kallweit
  2023-02-25 21:44 ` [PATCH RFC 1/6] r8169: use spinlock to protect mac ocp register access Heiner Kallweit
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Heiner Kallweit @ 2023-02-25 21:43 UTC (permalink / raw)
  To: Kai-Heng Feng, Paolo Abeni, Jakub Kicinski, David Miller,
	Eric Dumazet, Realtek linux nic maintainers
  Cc: netdev@vger.kernel.org

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.

This change affects a bigger number of supported chip versions,
therefore this series comes as RFC first for further testing.

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(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-03-10 21:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-25 21:43 [PATCH RFC 0/6] r8169: disable ASPM during NAPI poll Heiner Kallweit
2023-02-25 21:44 ` [PATCH RFC 1/6] r8169: use spinlock to protect mac ocp register access Heiner Kallweit
2023-03-10 20:56   ` Bjorn Helgaas
2023-02-25 21:44 ` [PATCH RFC 2/6] r8169: use spinlock to protect access to registers Config2 and Config5 Heiner Kallweit
2023-02-25 21:45 ` [PATCH RFC 3/6] r8169: enable cfg9346 config register access in atomic context Heiner Kallweit
2023-03-10 21:08   ` Bjorn Helgaas
2023-02-25 21:46 ` [PATCH RFC 4/6] r8169: prepare rtl_hw_aspm_clkreq_enable for usage " Heiner Kallweit
2023-03-10 21:09   ` Bjorn Helgaas
2023-02-25 21:46 ` [PATCH RFC 5/6] r8169: disable ASPM during NAPI poll Heiner Kallweit
2023-02-25 21:47 ` [PATCH RFC 6/6] r8169: remove ASPM restrictions now that ASPM is disabled " Heiner Kallweit
2023-03-10 21:19   ` Bjorn Helgaas
2023-03-10 21:41     ` Heiner Kallweit
2023-03-01  6:50 ` [PATCH RFC 0/6] r8169: disable ASPM " Kai-Heng Feng
2023-03-01 10:52   ` Simon Horman
2023-03-04 11:45 ` Holger Hoffstätte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox