mbox series

[0/8] PCI: Move some ASPM info to struct pci_dev

Message ID 20200923231517.221310-1-refactormyself@gmail.com (mailing list archive)
Headers show
Series PCI: Move some ASPM info to struct pci_dev | expand

Message

Saheed O. Bolarinwa Sept. 23, 2020, 11:15 p.m. UTC
These series migrates some ASPM information into struct pci_dev.
struct pcie_link_state.l1ss and struct aspm_register_info were
removed.


Saheed O. Bolarinwa (8):
  PCI/ASPM: Cache device's ASPM link capability in struct pci_dev
  PCI/ASPM: Rework calc_l*_latency() to take a struct pci_dev
  PCI/ASPM: Compute the value of aspm_register_info.support directly
  PCI/ASPM: Replace aspm_register_info.l1ss_cap* with pci_dev.l1ss_cap*
  PCI/ASPM: Remove aspm_register_info.l1ss_ctl*
  PCI/ASPM: Remove aspm_register_info.enable
  PCI/ASPM: Remove pcie_get_aspm_reg() and struct aspm_register_info
  PCI/ASPM: Remove struct pcie_link_state.l1ss

 drivers/pci/pcie/aspm.c | 203 +++++++++++++++-------------------------
 drivers/pci/probe.c     |   7 ++
 include/linux/pci.h     |   3 +
 3 files changed, 84 insertions(+), 129 deletions(-)