Re: Revert "PCI/ASPM: Save/restore L1SS Capability for suspend/resume"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 20, 2021 at 03:11:30PM -0700, Hemant Kumar wrote:
> Hi Bjorn,
> 
> Is there any plan to revisit the fix to allow L1SS CTRL1 and CTRL2 save and
> restore to work with suspend and resume.
> 
> Referring to the lkml discussion https://lore.kernel.org/linux-pci/20201228040513.GA611645@bjorn-Precision-5520/
> 
> A patch was shared, described as :-
> "4257f7e008ea restores PCI_L1SS_CTL1, then PCI_L1SS_CTL2.  I think it
> should do those in the reverse order, since the Enable bits are in
> PCI_L1SS_CTL1.  It also restores L1SS state (potentially enabling
> L1.x) before we restore the PCIe Capability (potentially enabling ASPM
> as a whole).  Those probably should also be in the other order."
> 
> We are planning to enable aspm driver, but without L1SS control register
> save and restore, it gets disabled after resume.

I don't remember the state of that, but if somebody posts a patch to
do the save/restore, and it fixes the problems we saw the first time,
I'm open to merging it.

Bjorn



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux