linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI/PM: Resume/reset wait time change
@ 2023-04-04  5:27 Mika Westerberg
  2023-04-04  5:27 ` [PATCH v2 1/2] PCI/PM: Increase wait time after resume Mika Westerberg
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mika Westerberg @ 2023-04-04  5:27 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Mahesh J Salgaonkar, oohall, Lukas Wunner, Chris Chiu,
	Sathyanarayanan Kuppuswamy, Ashok Raj, Sheng Bi,
	Ravi Kishore Koppuravuri, Stanislav Spassov, Yang Su, shuo.tan,
	Mika Westerberg, linux-pci

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/20230321095031.65709-1-mika.westerberg@linux.intel.com/

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(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-04-12 19:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-04  5:27 [PATCH v2 0/2] PCI/PM: Resume/reset wait time change Mika Westerberg
2023-04-04  5:27 ` [PATCH v2 1/2] PCI/PM: Increase wait time after resume Mika Westerberg
2023-04-04  5:27 ` [PATCH v2 2/2] PCI/PM: Decrease wait time for devices behind slow links Mika Westerberg
2023-04-04 21:36   ` Bjorn Helgaas
2023-04-05  9:39     ` Mika Westerberg
2023-04-06 17:55       ` Bjorn Helgaas
2023-04-11 22:40 ` [PATCH v2 0/2] PCI/PM: Resume/reset wait time change Bjorn Helgaas
2023-04-12  8:00   ` Mika Westerberg
2023-04-12 19:25     ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).