PCI/ASPM: Save/restore L1SS Capability for suspend/resume
authorVidya Sagar <vidyas@nvidia.com>
Sat, 24 Oct 2020 19:04:42 +0000 (00:34 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 20 Nov 2020 17:17:44 +0000 (11:17 -0600)
commit4257f7e008ea394fcecc050f1569c3503b8bcc15
tree08477e23d2d204d8f7b9081f3df3df1e2760891e
parentf8394f232b1eab649ce2df5c5f15b0e528c92091
PCI/ASPM: Save/restore L1SS Capability for suspend/resume

Previously ASPM L1 Substates control registers (CTL1 and CTL2) weren't
saved and restored during suspend/resume leading to L1 Substates
configuration being lost post-resume.

Save the L1 Substates control registers so that the configuration is
retained post-resume.

Link: https://lore.kernel.org/r/20201024190442.871-1-vidyas@nvidia.com
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/pcie/aspm.c