Speed up the process of s3 resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
koba | ||
linux-oem-osp1 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
koba | ||
Focal |
Invalid
|
Undecided
|
Unassigned |
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.
CVE References
Changed in linux (Ubuntu): | |
status: | New → In Progress |
affects: | linux-oem (Ubuntu) → linux-oem-osp1 (Ubuntu) |
Changed in linux-oem-osp1 (Ubuntu): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
status: | In Progress → Won't Fix |
assignee: | nobody → koba (kobako) |
status: | Won't Fix → In Progress |
tags: | added: oem-priority originate-from-1875295 somerville |
tags: | added: originate-from-1864604 |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → koba (kobako) |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
assignee: | nobody → koba (kobako) |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux-oem-osp1 (Ubuntu): | |
status: | In Progress → Invalid |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
assignee: | koba (kobako) → nobody |
Changed in linux-oem-osp1 (Ubuntu): | |
assignee: | koba (kobako) → nobody |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
description: | updated |
Changed in linux-oem-5.6 (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in linux-oem-osp1 (Ubuntu Focal): | |
status: | New → Invalid |
description: | updated |
description: | updated |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
assignee: | koba (kobako) → nobody |
status: | In Progress → Invalid |
Changed in linux (Ubuntu): | |
status: | Invalid → Fix Released |
Changed in linux (Ubuntu Focal): | |
status: | New → Invalid |
Changed in hwe-next: | |
status: | New → Fix Released |
This bug was fixed in the package linux-oem-osp1 - 5.0.0-1059.64
---------------
linux-oem-osp1 (5.0.0-1059.64) bionic; urgency=medium
[ Ubuntu: 5.0.0-52.56 ]
* CVE-2020-0543
- SAUCE: x86/cpu: Add a steppings field to struct x86_cpu_id
- SAUCE: x86/cpu: Add 'table' argument to cpu_matches()
- SAUCE: x86/speculation: Add Special Register Buffer Data Sampling (SRBDS)
mitigation
- SAUCE: x86/speculation: Add SRBDS vulnerability and mitigation documentation
- SAUCE: x86/speculation: Add Ivy Bridge to affected list
linux-oem-osp1 (5.0.0-1054.59) bionic; urgency=medium
* bionic/ linux-oem- osp1: 5.0.0-1054.59 -proposed tracker (LP: #1881221)
* Speed up the process of s3 resume (LP: #1876844) for_link_ delay() for caller delay
- PCI/PM: Adjust pcie_wait_
- PCI/PM: Assume ports without DLL Link Active train links in 100 ms
linux-oem-osp1 (5.0.0-1053.58) bionic; urgency=medium
* bionic/ linux-oem- osp1: 5.0.0-1053.58 -proposed tracker (LP: #1878822)
* rtl8723bu wifi issue after being turned off (LP: #1878296)
- rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver
- rtl8xxxu: add bluetooth co-existence support for single antenna
- rtl8xxxu: remove set but not used variable 'rate_mask'
- rtl8xxxu: Remove set but not used variable 'vif', 'dev', 'len'
* Fix Pericom USB controller OHCI/EHCI PME# defect (LP: #1879321)
- serial: 8250_pci: Move Pericom IDs to pci_ids.h
- PCI: Avoid Pericom USB controller OHCI/EHCI PME# defect
* Don't register platform::micmute if the related tokens don't exist
(LP: #1877275)
- SAUCE: platform/x86: dell-laptop: don't register platform::micmute if the
related tokens don't exist
[ Ubuntu: 5.0.0-49.53 ]
* disco/linux: 5.0.0-49.53 -proposed tracker (LP: #1878826) alloc_free_ page() DEBUG_PER_ CPU_MAPS is enabled
* Disco update: upstream stable patchset 2020-05-14 (LP: #1878681)
- remoteproc: Fix wrong rvring index computation
- mtd: cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer
- binder: take read mode of mmap_sem in binder_
- usb: dwc3: gadget: Do link recovery for SS and SSP
- usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete
- iio:ad7797: Use correct attribute_group
- ASoC: q6dsp6: q6afe-dai: add missing channels to MI2S DAIs
- ASoC: tas571x: disable regulators on failed probe
- ASoC: wm8960: Fix wrong clock after suspend & resume
- nfsd: memory corruption in nfsd4_lock()
- i2c: altera: use proper variable to hold errno
- rxrpc: Fix DATA Tx to disable nofrag for UDP on AF_INET6 socket
- net/cxgb4: Check the return from t4_query_params properly
- xfs: acquire superblock freeze protection on eofblocks scans
- svcrdma: Fix trace point use-after-free race
- svcrdma: Fix leak of svc_rdma_recv_ctxt objects
- PCI: Avoid ASMedia XHCI USB PME# from D0 defect
- PCI: Move Apex Edge TPU class quirk to fix BAR assignment
- ARM: dts: bcm283x: Disable dsi0 node
- cpumap: Avoid warning when CONFIG_
- net/mlx5: Fix failing fw tracer allocation on s390
- perf/core: fix parent pid/tid in task exit events
- bpf, x86_3...