[PATCH 0/3][SRU][[I][OEM-5.13][OEM-5.14][Unstable] Can only

AceLan Kao acelan.kao at canonical.com
Mon Oct 11 04:16:23 UTC 2021


From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>

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.
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.

Kai-Heng Feng (3):
  PCI/ASPM: Introduce a new helper to report ASPM capability
  r8169: Enable chip-specific ASPM regardless of PCIe ASPM status
  r8169: Implement dynamic ASPM mechanism

 drivers/net/ethernet/realtek/r8169_main.c | 69 ++++++++++++++++++++---
 drivers/pci/pcie/aspm.c                   | 11 ++++
 include/linux/pci.h                       |  2 +
 3 files changed, 73 insertions(+), 9 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list