[PATCH 0/7][SRU][Focal][Unstable] enable realtek ethernet device ASPM function

AceLan Kao acelan.kao at canonical.com
Tue Mar 10 01:48:29 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1836030

[Impact]
The PC state stays at PC3 if r8169 driver doesn't enable ASPM.

[Fix]
Applied same series of patches from v5.5-rc1 and disable ASPM L1.1 only,
instead of disable ASPM completely.

[Test]
Verified on machines with realtek Ethernet device, the Ethernet works well
after S3 test 30 times and the system can enter PC10.

[Regression Potential]
Low, from realtek engineer, r8169 driver supports ASPM L0s and L1, and we
only disable ASPM L1.1 which is pretty safe and should be disabled by
default.

AceLan Kao (1):
  UBUNTU: SAUCE: r8169: disable ASPM L1.1 support

Bjorn Helgaas (1):
  PCI/ASPM: Remove pcie_aspm_enabled() unnecessary locking

Heiner Kallweit (5):
  PCI/ASPM: Add L1 PM substate support to pci_disable_link_state()
  PCI/ASPM: Allow re-enabling Clock PM
  PCI/ASPM: Add pcie_aspm_get_link()
  PCI/ASPM: Add sysfs attributes for controlling ASPM link states
  PCI/ASPM: Remove PCIEASPM_DEBUG Kconfig option and related code

 Documentation/ABI/testing/sysfs-bus-pci   |  13 ++
 drivers/net/ethernet/realtek/r8169_main.c |   3 +-
 drivers/pci/pci-sysfs.c                   |   6 +-
 drivers/pci/pci.h                         |  12 +-
 drivers/pci/pcie/Kconfig                  |   7 -
 drivers/pci/pcie/aspm.c                   | 245 ++++++++++++++--------
 include/linux/pci.h                       |  10 +-
 7 files changed, 182 insertions(+), 114 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list