[PATCH v3 0/1][SRU][OEM-OSP1-B] UBUNTU: SAUCE: pci: Speed up the process of s3 resume

Koba Ko koba.ko at canonical.com
Thu May 14 07:21:41 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1876844

[Impact]
Process of s3 resume takes 7s and it's too long which is over 5s.

[Fix]
Respect the link_active_reporting field of a PCI device to determine whether a
delay should be added or not.  Actual delay would be determined by taking
maximum between 100ms and pci device's d3cold delay.

[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.

v3: Correct the patch submission process.

Mika Westerberg (1):
  UBUNTU: SAUCE: PCI: Do not use pcie_get_speed_cap() to determine when
    to start waiting

 drivers/pci/pci.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
2.17.1




More information about the kernel-team mailing list