ACK: [PATCH 0/2][SRU][OEM-5.6] pci: Speed up the process of s3 resume
You-Sheng Yang
vicamo.yang at canonical.com
Sat May 30 04:17:03 UTC 2020
Clean cherry-pick, merged by upstream.
Acked-by: You-Sheng Yang <vicamo.yang at canonical.com>
On 2020-05-29 00: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(-)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20200530/5b81a141/attachment.sig>
More information about the kernel-team
mailing list