[PATCH 0/3 V3][SRU][OEM-5.17] UBUNTU: SAUCE: Can only reach PC3 when ethernet is plugged r8169
Koba Ko
koba.ko at canonical.com
Fri Oct 14 08:56:42 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1946433
[Impact]
System only can reach PC3, and it affects power consumption alot.
[Fix]
Kaiheng implemented a dynamic ASPM for r8169, it not only fixes the PC state issue, but also fixes network speed issue.
V7:
https://patchwork.kernel.org/project/netdevbpf/patch/20211016075442.650311-5-kai.heng.feng@canonical.com/
V6:
https://patchwork.ozlabs.org/project/linux-pci/cover/20211007161552.272771-1-kai.heng.feng@canonical.com/
[Test]
Verified on 2 different systems which has PC state issue and has network speed issue, these patches fix both issues.
[Where problems could occur]
It toggles ASPM on and off depends on the network traffic during runtime, I don't think it'll lead to any regressions. Some potential issues have been addressed during the patch submitting. It's v6 now and accepted by upstream.
~~~
V3: Resolve conflicts in first and third patches for OEM-5.17.
V2: mark as SAUCE.
Kai-Heng Feng (3):
[OEM-5.17] UBUNTU: SAUCE: r8169: Enable chip-specific ASPM
regardless of PCIe ASPM status
[OEM-5.17] UBUNTU: SAUCE: r8169: Use mutex to guard config
register locking
[OEM-5.17] UBUNTU: SAUCE: r8169: Implement dynamic ASPM mechanism
drivers/net/ethernet/realtek/r8169_main.c | 75 ++++++++++++++++++-----
1 file changed, 61 insertions(+), 14 deletions(-)
--
2.34.1
More information about the kernel-team
mailing list