mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Wait for device readiness after D3hot -> D0uninitialized transition
@ 2026-05-18 19:12 Bjorn Helgaas
  2026-05-18 19:12 ` [PATCH v2 1/2] PCI: Log device readiness timeouts as errors Bjorn Helgaas
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Bjorn Helgaas @ 2026-05-18 19:12 UTC (permalink / raw)
  To: linux-pci
  Cc: Rafael J . Wysocki, Lukas Wunner, Marco Nenciarini,
	Michal Winiarski, Ilpo Jarvinen, Eric Chanudet, Jean Guyader,
	Alex Williamson, Sinan Kaya, Mario Limonciello, Mika Westerberg,
	linux-kernel, Bjorn Helgaas

In pci_power_up(), wait for device to become ready after a soft reset
(D3hot->D0uninitialized transition).  We already wait 10 ms, but even after
that, the device is permitted to respond to config requests with Request
Retry Status (RRS) completion status.  Use pci_dev_wait() to wait for
successful completion.

Bjorn Helgaas (2):
  PCI: Log device readiness timeouts as errors
  PCI: Wait for device readiness after D3hot -> D0uninitialized
    transition

 drivers/pci/pci.c | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)


Changes since v1:
  - Log device readiness timeouts as errors, not warnings
  - On timeout, set dev->current_state to D3cold and return -EIO

v1: https://lore.kernel.org/all/20260514153124.404060-1-bhelgaas@google.com/

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

end of thread, other threads:[~2026-05-22 22:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18 19:12 [PATCH v2 0/2] Wait for device readiness after D3hot -> D0uninitialized transition Bjorn Helgaas
2026-05-18 19:12 ` [PATCH v2 1/2] PCI: Log device readiness timeouts as errors Bjorn Helgaas
2026-05-18 19:12 ` [PATCH v2 2/2] PCI: Wait for device readiness after D3hot -> D0uninitialized transition Bjorn Helgaas
2026-05-18 19:38   ` Rafael J. Wysocki
2026-05-18 19:45     ` Lukas Wunner
2026-05-18 19:47       ` Rafael J. Wysocki
2026-05-18 19:48 ` [PATCH v2 0/2] " Rafael J. Wysocki
2026-05-22 22:30 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®