Merge branch 'pci/aspm'
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Oct 2022 22:32:52 +0000 (17:32 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Oct 2022 22:32:52 +0000 (17:32 -0500)
commitc1c2d8921f10f8b81c57ed3838f150bb711c83c0
treea07e7501865c1f402b567fe36419e05899e2d2cf
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
parent7afeb84d14eaaebb71f5c558ed57ca858e4304e7
Merge branch 'pci/aspm'

- Save L1 PM Substates Capability across suspend/resume so L1SS keeps
  working after resume (Vidya Sagar)

- If device lacks L1 PM Substates Capability, don't read junk and treat it
  as such a Capability (Bjorn Helgaas)

- Fix the LTR_L1.2_THRESHOLD computation, which previously configured the
  threshold for entering L1.2 to be lower than intended, so L1.2 could be
  used when it shouldn't be (Bjorn Helgaas)

* pci/aspm:
  PCI/ASPM: Correct LTR_L1.2_THRESHOLD computation
  PCI/ASPM: Ignore L1 PM Substates if device lacks capability
  PCI/ASPM: Factor out L1 PM Substates configuration
  PCI/ASPM: Save L1 PM Substates Capability for suspend/resume
  PCI/ASPM: Refactor L1 PM Substates Control Register programming