[PATCH V4 0/2] PCI/ASPM: Save/restore L1SS Capability for suspend/resume

From: Vidya Sagar
Date: Tue Sep 13 2022 - 09:18:53 EST


This patch series saves and restores the ASPM L1SS capability registers
during suspend/resume cycle of the system.
First patch refactors the existing L1SS register programming code to
take out the common code.
Second patch adds support to save and restore of the L1SS registers using
the common code extracted in the first patch to restore the registers.

This patch is verified on Tegra194 and Tegra234 platforms.

Vidya Sagar (2):
PCI/ASPM: Refactor ASPM L1SS control register programming
PCI/ASPM: Save/restore L1SS Capability for suspend/resume

drivers/pci/pci.c | 7 +++
drivers/pci/pci.h | 4 ++
drivers/pci/pcie/aspm.c | 106 +++++++++++++++++++++++++++-------------
3 files changed, 83 insertions(+), 34 deletions(-)

--
2.17.1