** Description changed:

  [Impact]
  Process of s3 resume take 7s and it's too long which is over 5s.
  
  [Fix]
- the commit is from 
https://lore.kernel.org/linux-pci/[email protected]/
- 
  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.
  
  [Regression Potential]
- Medium. This patch only changes the rules to determine whether delay is taken 
or not.
- Reference the right field(link_active_reporting), but not speed of pci device.
+ 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876844

Title:
  Speed up the process of s3 resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1876844/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to