mbox series

[v2,0/7] PCI/ASPM: Move some ASPM info to struct pci_dev

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

Message

Saheed O. Bolarinwa Sept. 24, 2020, 2:24 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.

Changes since version 1:
 - Rework patches to remove redundant variables in the same patch.

Saheed O. Bolarinwa (7):
  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 struct aspm_register_info and pcie_get_aspm_reg()
  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(-)