]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: Wait for up to 1000ms after FLR reset
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 22 Feb 2016 20:05:48 +0000 (13:05 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Mar 2016 20:48:58 +0000 (14:48 -0600)
commit5adecf817dd630529d6565a242141db2df3239f7
tree0a3597ecf404e68b5825022839bf3b3cdf10cb32
parent0a3d00b33b4ed873cbead8c241bd58b456d92d36
PCI: Wait for up to 1000ms after FLR reset

Some devices take longer than the spec indicates to return from FLR reset,
a notable case of this is Intel integrated graphics (IGD), which can often
take an additional 300ms powering down an attached LCD panel as part of the
FLR.  Allow devices up to 1000ms, testing every 100ms whether the second
dword of config space is read as -1.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c