Skip to content

PCI/ASPM: Move some ASPM info to struct pci_dev

Saheed O. Bolarinwa linux-pci oe-kbuild-all 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 6 repliesIn review
  2. v18 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PCI/ASPM: Cache device's ASPM link capability in struct pci_devdrivers/pci/pcie/aspm.c drivers/pci/probe.c include/linux/pci.h+4 -53 replies
2/7PCI/ASPM: Rework calc_l*_latency() to take a struct pci_devdrivers/pci/pcie/aspm.c+10 -100 replies
3/7PCI/ASPM: Compute the value of aspm_register_info.support directlydrivers/pci/pcie/aspm.c+13 -91 reply
4/7PCI/ASPM: Replace aspm_register_info.l1ss_cap*drivers/pci/pcie/aspm.c drivers/pci/probe.c include/linux/pci.h+28 -421 reply
5/7PCI/ASPM: Remove aspm_register_info.l1ss_ctl*drivers/pci/pcie/aspm.c+10 -130 replies
6/7PCI/ASPM: Remove struct aspm_register_info and pcie_get_aspm_reg()drivers/pci/pcie/aspm.c+12 -281 reply
7/7PCI/ASPM: Remove struct pcie_link_state.l1ssdrivers/pci/pcie/aspm.c+15 -300 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] PCI/ASPM: Move some ASPM info to struct pci_dev

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(-)
Signature · 1 line
2.18.4