Merge branch 'pci/aspm'
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Mar 2024 17:14:19 +0000 (12:14 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Mar 2024 17:14:19 +0000 (12:14 -0500)
commit239981b66966e8f9c1c2eb020aaff61c82f56ae6
tree00a26373e35718939fc8f0536f0a406775241d58
parent5aff0f394b83ee7dd3ee0dd01c5d256d651fffcd
parent6d4266675279b38c301243f3a4fac4a511b03246
Merge branch 'pci/aspm'

- Collect ASPM-related code into aspm.c (David E. Box)

- Save and restore ASPM L1 PM Substates configuration so these states
  continue working after suspend/resume (David E. Box)

- Move the ASPM L1.2-related LTR save/restore next to the ASPM save/restore
  (David E. Box)

- Move the required L1 disable before L1 Substate configuration into
  pci_restore_aspm_l1ss_state() (Bjorn Helgaas)

- Update save_save when ASPM config is changed, so a .slot_reset() during
  error recovery restores the changed config, not the .probe()-time config
  (Vidya Sagar)

* pci/aspm:
  PCI/ASPM: Update save_state when configuration changes
  PCI/ASPM: Disable L1 before configuring L1 Substates
  PCI/ASPM: Call pci_save_ltr_state() from pci_save_pcie_state()
  PCI/ASPM: Save L1 PM Substates Capability for suspend/resume
  PCI/ASPM: Move pci_save_ltr_state() to aspm.c
  PCI/ASPM: Always build aspm.c
  PCI/ASPM: Move pci_configure_ltr() to aspm.c
drivers/pci/pci.c
drivers/pci/pci.h