PCI: Warn periodically while waiting for non-CRS ("device ready") status
authorSinan Kaya <okaya@codeaurora.org>
Tue, 29 Aug 2017 19:45:45 +0000 (14:45 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 19:45:45 +0000 (14:45 -0500)
commite78e661fae3296c4e20a029d6bd04c5e925c72de
treec790cc8163fbc6c291044546d9f8f4f65215d667
parent821cdad5c46cae94ce65b9a98614c70a6ff021f8
PCI: Warn periodically while waiting for non-CRS ("device ready") status

Add a print statement in pci_bus_wait_crs() so that user observes the
progress of device polling instead of silently waiting for timeout to be
reached.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
[bhelgaas: check for timeout first so we don't print "waiting, giving up",
always print time we've slept (not the actual timeout, print a "ready"
message if we've printed a "waiting" message]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c