From: Keith Busch <kbusch@kernel.org>
To: Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>,
Sagi Grimberg <sagi@grimberg.me>,
Moritz Hiller <m.hiller@pc-heini.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
<linux-nvme@lists.infradead.org>, <linux-pci@vger.kernel.org>,
<linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] nvme-pci: wait for MMIO to come back after resume from suspend
Date: Mon, 30 Nov 2026 08:27:55 -0800 [thread overview]
Message-ID: <179605607505.3037597.13015411363566738180.b4-ty@kernel.org> (raw)
In-Reply-To: <20261127104637.219891-1-m.hiller@pc-heini.de>
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@kernel.org>
prev parent reply other threads:[~2026-11-30 16:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 2:24 [bug report] nvme-pci: NVMe lost after S3 resume, CSTS reads all-ones for a few 100 ms Moritz Hiller
2026-11-20 18:08 ` Christoph Hellwig
2026-11-27 10:46 ` [PATCH] nvme-pci: wait for MMIO to come back after resume from suspend Moritz Hiller
2026-11-30 8:54 ` Christoph Hellwig
2026-11-30 16:27 ` Keith Busch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179605607505.3037597.13015411363566738180.b4-ty@kernel.org \
--to=kbusch@kernel.org \
--cc=axboe@kernel.dk \
--cc=bhelgaas@google.com \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=m.hiller@pc-heini.de \
--cc=rafael@kernel.org \
--cc=sagi@grimberg.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®