linux_dsm_epyc7002/drivers/pci/pcie
Heiner Kallweit 72ea91afbf PCI/ASPM: Add sysfs attributes for controlling ASPM link states
Add sysfs attributes to Endpoints and other Upstream Ports to control ASPM,
Clock PM, and L1 PM Substates.  The new attributes are:

  /sys/devices/pci*/.../link/clkpm
  /sys/devices/pci*/.../link/l0s_aspm
  /sys/devices/pci*/.../link/l1_aspm
  /sys/devices/pci*/.../link/l1_1_aspm
  /sys/devices/pci*/.../link/l1_2_aspm
  /sys/devices/pci*/.../link/l1_1_pcipm
  /sys/devices/pci*/.../link/l1_2_pcipm

An attribute is only visible if both ends of the Link leading to the device
support the state.  Writing y/1/on to the file enables the state; n/0/off
disables it.

These attributes can be used to tune the power/performance tradeoff for
individual devices.

[bhelgaas: commit log, rename directory to "link"]
Link: https://lore.kernel.org/r/b1c83f8a-9bf6-eac5-82d0-cf5b90128fbf@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2019-11-21 17:30:24 -06:00
..
aer_inject.c PCI: Fix typos and whitespace errors 2019-07-09 07:24:53 -05:00
aer.c PCI/AER: Log messages with pci_dev, not pcie_device 2019-05-09 16:45:02 -05:00
aspm.c PCI/ASPM: Add sysfs attributes for controlling ASPM link states 2019-11-21 17:30:24 -06:00
bw_notification.c pci-v5.2-changes 2019-05-14 10:30:10 -07:00
dpc.c PCI/DPC: Log messages with pci_dev, not pcie_device 2019-05-09 16:27:34 -05:00
err.c PCI: Get rid of dev->has_secondary_link flag 2019-09-07 07:45:31 -05:00
Kconfig PCI/LINK: Add Kconfig option (default off) 2019-05-02 08:34:32 -05:00
Makefile PCI/LINK: Add Kconfig option (default off) 2019-05-02 08:34:32 -05:00
pme.c PCI/PME: Replace dev_printk(KERN_DEBUG) with dev_info() 2019-05-09 16:27:29 -05:00
portdrv_core.c Revert "PCI: Add missing link delays required by the PCIe spec" 2019-08-07 13:06:42 +02:00
portdrv_pci.c PCI/LINK: Report degraded links via link bandwidth notification 2019-03-05 15:04:13 -06:00
portdrv.h PCI/LINK: Add Kconfig option (default off) 2019-05-02 08:34:32 -05:00
ptm.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00