Skip to contentSkip to conversation

PCI: Delay after FLR of Intel DC P4510 NVMe

PATCH Applied Raphael Norwitz 2 participants 2 messages Apr 8, 2021 – Apr 9, 2021 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 to soon after an FLR. The same reset quirk the P3700 uses also resolves the failure for the P4510, so this change introduces the same reset quirk for the P4510.

---
 drivers/pci/quirks.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/quirks.c +1 -0
index 653660e3ba9e..5a8c059b848d 100644
@@ -3922,6 +3922,7 @@ static const struct pci_dev_reset_methods pci_dev_reset_methods[] = {
 		reset_ivb_igd },
 	{ PCI_VENDOR_ID_SAMSUNG, 0xa804, nvme_disable_and_flr },
 	{ PCI_VENDOR_ID_INTEL, 0x0953, delay_250ms_after_flr },
+	{ PCI_VENDOR_ID_INTEL, 0x0a54, delay_250ms_after_flr },
 	{ PCI_VENDOR_ID_CHELSIO, PCI_ANY_ID,
 		reset_chelsio_generic_dev },
 	{ 0 }
Signature · 1 line
2.20.1
#1 lore raw
Quoted 10 lines · Raphael Norwitz

Like the Intel DC P3700 NVMe, the Intel P4510 NVMe exhibits a timeout failure when the driver tries to interact with the device to soon after an FLR. The same reset quirk the P3700 uses also resolves the failure for the P4510, so this change introduces the same reset quirk for the P4510.

Applied to pci/virtualization for v5.13, thanks!

Quoted 18 lines
---
 drivers/pci/quirks.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/quirks.c +1 -0
index 653660e3ba9e..5a8c059b848d 100644
@@ -3922,6 +3922,7 @@ static const struct pci_dev_reset_methods pci_dev_reset_methods[] = {
 		reset_ivb_igd },
 	{ PCI_VENDOR_ID_SAMSUNG, 0xa804, nvme_disable_and_flr },
 	{ PCI_VENDOR_ID_INTEL, 0x0953, delay_250ms_after_flr },
+	{ PCI_VENDOR_ID_INTEL, 0x0a54, delay_250ms_after_flr },
 	{ PCI_VENDOR_ID_CHELSIO, PCI_ANY_ID,
 		reset_chelsio_generic_dev },
 	{ 0 }
Signature · 1 line
2.20.1