Skip to content

PCI/PM: Resume/reset wait time change

Mika Westerberg linux-pci 1 version Applied

Status from this message: I applied the above to pci/reset for v6.4.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesApplied

Changes from the previous version from the cover letter

* Split the patch into two: one that increases the resume timeout (on all links, I was not able to figure out a simple way to limit this only for the fast links) and the one that decreases the timeout on slow links.

* Use dev->link_active_reporting instead of speed to figure out slow vs. fast links.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=216728

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2PCI/PM: Increase wait time after resumedrivers/pci/pci-driver.c+2 -10 replies
2/2PCI/PM: Decrease wait time for devices behind slow linksdrivers/pci/pci-driver.c drivers/pci/pci.c drivers/pci/pci.h +1 more+30 -343 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] PCI/PM: Resume/reset wait time change

Hi all,

This series first increases the time we wait on resume path to accommondate certain device, as reported in [1], and then "optimizes" the timeout for slow links to avoid too long waits if a device is disconnected during suspend.

Previous version can be found here:

https://lore.kernel.org/linux-pci/[email protected]/

Changes from the previous version:

* Split the patch into two: one that increases the resume timeout (on all links, I was not able to figure out a simple way to limit this only for the fast links) and the one that decreases the timeout on slow links.

* Use dev->link_active_reporting instead of speed to figure out slow vs. fast links.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=216728

Mika Westerberg (2):
PCI/PM: Increase wait time after resume
PCI/PM: Decrease wait time for devices behind slow links

 drivers/pci/pci-driver.c |  2 +-
 drivers/pci/pci.c        | 42 ++++++++++++++++++++++++++--------------
 drivers/pci/pci.h        | 16 +--------------
 drivers/pci/pcie/dpc.c   |  3 +--
 4 files changed, 30 insertions(+), 33 deletions(-)
Signature · 1 line
2.39.2