[PATCH] nvme-pci: wait for MMIO to come back after resume from suspend

Keith Busch kbusch at kernel.org
Mon Nov 30 08:27:55 PST 2026


On Fri, 27 Nov 2026 11:46:21 +0100, Moritz Hiller wrote:
> On an ASUS ROG STRIX X570-F GAMING (BIOS 5044) with a Samsung 9100 PRO
> attached directly to a CPU root port, the root NVMe drive sporadically
> does not come back after resume from S3 (roughly 5-10% of resumes):
> 
>   nvme nvme0: Disabling device after reset failure: -19
> 
> The single readl() of CSTS in nvme_pci_enable() returns all-ones about
> 200 ms after resume. At that point config space answers, the link is
> up, the device is in D0 and there are no AER errors. The controller is
> not dead, it just needs a few hundred milliseconds longer before its
> MMIO space responds.
> 
> [...]

Thanks, applied to nvme-7.4.

[1/1] nvme-pci: wait for MMIO to come back after resume from suspend
      commit: b2e0423d643818158371825a998401cfd257c74d
--
Keith Busch <kbusch at kernel.org>




More information about the Linux-nvme mailing list