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

From: Bjorn Helgaas
Date: Tue Sep 13 2022 - 14:11:42 EST


On Tue, Sep 13, 2022 at 06:48:20PM +0530, Vidya Sagar wrote:
> 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(-)

Applied to pci/aspm for v6.1, thanks!

I dropped the pci_is_pcie() testing since pci_configure_ltr() only
sets dev->l1ss for PCIe devices.