]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3c2c533b5d7adb84ba8c405a2c01ec23dfe9b8f
tree08477e23d2d204d8f7b9081f3df3df1e2760891e
parent1a1a5d6cd1062ccc15f5dedff6e1f10224f45f11
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