** Description changed: [Impact] Process of s3 resume take 7s and it's too long which is over 5s. [Fix] - Reference link_active_reporting field of PCI device to determine whether delay is taken or not. - Actual delay would be determined by taking maximum between 100ms and pci device's d3cold delay. 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 3874.298 ms which is smaller than 5s. + 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.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1876844 Title: Speed up the process of s3 resume Status in HWE Next: New Status in linux package in Ubuntu: Invalid Status in linux-oem-5.6 package in Ubuntu: New Status in linux-oem-osp1 package in Ubuntu: Invalid Status in linux source package in Bionic: In Progress Status in linux-oem-5.6 source package in Bionic: Invalid Status in linux-oem-osp1 source package in Bionic: In Progress Status in linux source package in Focal: New Status in linux-oem-5.6 source package in Focal: In Progress Status in linux-oem-osp1 source package in Focal: Invalid Bug description: [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. To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/1876844/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp