mbox series

[v2,0/3] PCI/ASPM: add sysfs attributes for controlling ASPM

Message ID b4b1518a-d0e8-9534-5211-115107e770e1@gmail.com (mailing list archive)
Headers show
Series PCI/ASPM: add sysfs attributes for controlling ASPM | expand

Message

Heiner Kallweit Aug. 21, 2019, 6:14 p.m. UTC
Background of this extension is a problem with the r8169 network driver.
Several combinations of board chipsets and network chip versions have
problems if ASPM is enabled, therefore we have to disable ASPM per
default. However especially on notebooks ASPM can provide significant
power-saving, therefore we want to give users the option to enable
ASPM. With the new sysfs attributes users can control which ASPM
link-states are disabled.

v2:
- use a dedicated sysfs attribute per link state
- allow separate control of ASPM and PCI PM L1 sub-states

Heiner Kallweit (3):
  PCI/ASPM: add L1 sub-state support to pci_disable_link_state
  PCI/ASPM: allow to re-enable Clock PM
  PCI/ASPM: add sysfs attributes for controlling ASPM

 Documentation/ABI/testing/sysfs-bus-pci |  13 ++
 drivers/pci/pci.h                       |   8 +-
 drivers/pci/pcie/aspm.c                 | 292 +++++++++++++++++++++++-
 include/linux/pci-aspm.h                |  10 +-
 4 files changed, 304 insertions(+), 19 deletions(-)