PCI: Delay after FLR of Intel DC P3700 NVMe
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 9 Aug 2018 20:04:31 +0000 (14:04 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 Aug 2018 20:20:52 +0000 (15:20 -0500)
commit51ba09452d11b17248d80c740c2fd14c9fdc2c99
tree640cc2b4f9dd38f607ddc537f5c75f956b0f5791
parentffb0863426eb91a14101376051cfafa5527e665d
PCI: Delay after FLR of Intel DC P3700 NVMe

Add a device-specific reset for Intel DC P3700 NVMe device which exhibits a
timeout failure in drivers waiting for the ready status to update after
NVMe enable if the driver interacts with the device too soon after FLR.  As
this has been observed in device assignment scenarios, resolve this with a
device-specific reset quirk to add an additional, heuristically determined,
delay after the FLR completes.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1592654
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c