diff options
| author | Sun Yuechi <sunyuechi@iscas.ac.cn> | 2026-10-21 22:58:14 -0700 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-11-02 11:52:27 -0600 |
| commit | 996a59519af2ef3d8f47479685616bb2278c6cfa (patch) | |
| tree | 18a35ca47f5d5b1b10da643d8a6969caf1cc0e00 /rust/kernel/debugfs | |
| parent | 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 (diff) | |
PCI: Ignore Immediate Readiness on Samsung PM9D3a NVMe
The Samsung PM9D3a [144d:a80e] (MZWL63T8HFLT-00B07, firmware LDD5702Q)
advertises Immediate Readiness, so pcie_flr() doesn't wait after FLR, but
the drive returns ~0 for up to 6 ms. The config restore runs about 1 ms
after the FLR, so the BARs and Command register are lost and neither
vfio-pci nor a rebound nvme driver can reach the device:
pci 0008:01:00.0: reset via flr
pci 0008:01:00.0: restore config 0x10: 0xffffffff -> 0x10010004
nvme 0008:01:00.0: error -ENODEV: probe failed
Ignore Immediate Readiness on this device too, so pcie_flr() waits.
Fixes: 10baa9b4df40 ("PCI: Drop unnecessary retries when restoring BARs")
Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20261022055814.2566044-1-sunyuechi@iscas.ac.cn
Diffstat (limited to 'rust/kernel/debugfs')
0 files changed, 0 insertions, 0 deletions
