APPLIED Re: [PATCH 0/2][SRU][OEM-5.6] pci: Speed up the process of s3 resume

Timo Aaltonen tjaalton at ubuntu.com
Fri Jun 12 07:31:25 UTC 2020


On 28.5.2020 19.47, Koba Ko wrote:
> BugLink: https://bugs.launchpad.net/bugs/1876844
> 
> [Impact]
> Process of s3 resume take 7s and it's too long which is over 5s.
> 
> [Fix]
> Instead of using the supported speeds to determine whether to wait for 
> Link training, check whether the port supports DLL Link Active reporting. 
> The ports in question do not, so we'll wait only the 100 ms required for Ports 
> that support Link speeds <= 5 GT/s.
> 
> This of course assumes these Ports always train the Link within 100 ms even 
> if they are operating at > 5 GT/s, which is not required by the spec.
> 
> [test]
> With the patch, the total time s3 resume is 4454.244 ms which is smaller than 5s.
> 
> [Regression Potential]
> Low. Follow the PCI spec to check whether the device supports DLL Link Active 
> reporting, then choose the time of delay.
> 
> Bjorn Helgaas (1):
>   PCI/PM: Adjust pcie_wait_for_link_delay() for caller delay
> 
> Mika Westerberg (1):
>   PCI/PM: Assume ports without DLL Link Active train links in 100 ms
> 
>  drivers/pci/pci.c | 34 +++++++++++++++++++++++-----------
>  1 file changed, 23 insertions(+), 11 deletions(-)
> 

applied to oem-5.6-next, thanks

-- 
t



More information about the kernel-team mailing list