PCI: Delay after FLR of Intel DC P4510 NVMe
authorRaphael Norwitz <raphael.norwitz@nutanix.com>
Thu, 8 Apr 2021 19:05:27 +0000 (19:05 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 9 Apr 2021 16:41:07 +0000 (11:41 -0500)
commit0349a070881f7e3b4472d886989db092ed3ccac8
treef31d823317732caf769419d9186cf26b1bb81711
parenta38fd8748464831584a19438cbb3082b5a2dab15
PCI: Delay after FLR of Intel DC P4510 NVMe

Like the Intel DC P3700 NVMe, the Intel P4510 NVMe exhibits a timeout
failure when the driver tries to interact with the device too soon after an
FLR.

Add a device-specific reset method that delays 250ms after doing an FLR.

Link: https://lore.kernel.org/r/20210408190521.16897-1-raphael.norwitz@nutanix.com
Signed-off-by: Alay Shah <alay.shah@nutanix.com>
Signed-off-by: Suresh Gumpula <suresh.gumpula@nutanix.com>
Signed-off-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
drivers/pci/quirks.c