[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <af076f1f-a034-82e5-8f76-f3ec32a14eaa@gmail.com>
Date: Sat, 25 Feb 2023 22:43:08 +0100
From: Heiner Kallweit <hkallweit1@...il.com>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>,
Paolo Abeni <pabeni@...hat.com>,
Jakub Kicinski <kuba@...nel.org>,
David Miller <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Realtek linux nic maintainers <nic_swsd@...ltek.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [PATCH RFC 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.
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
Powered by blists - more mailing lists