From: David Wang <00107082@163•com>
To: hare@suse•de
Cc: Ankit.Soni@amd•com, hare@kernel•org, hch@lst•de,
kbusch@kernel•org, linux-kernel@vger•kernel.org,
linux-next@vger•kernel.org, sagi@grimberg•me, sraithal@amd•com,
vasant.hegde@amd•com
Subject: nvme nvme0: Failed to get ANA log after suspend/resume
Date: Wed, 16 Apr 2025 22:44:46 +0800 [thread overview]
Message-ID: <20250416144446.4394-1-00107082@163.com> (raw)
In-Reply-To: <e1f2ac49-25f4-4b2c-b67c-10782b4e3455@suse.de>
Hi,
On 4/14/2025 4:39 PM, Hannes Reinecke wrote:
> Can you try this?
>
> diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
> index 78963cab1f74..425c00b02f3e 100644
> --- a/drivers/nvme/host/core.c
> +++ b/drivers/nvme/host/core.c
> @@ -4455,7 +4455,7 @@ static void nvme_scan_work(struct work_struct
> *work)
> if (test_bit(NVME_AER_NOTICE_NS_CHANGED, &ctrl->events))
> nvme_queue_scan(ctrl);
> #if CONFIG_NVME_MULTIPATH
> - else
> + else if (ctrl->ana_log_buf)
> /* Re-read the ANA log page to not miss updates */
> queue_work(nvme_wq, &ctrl->ana_work);
> #endif
I notice a new nvme warning kernel log introduced in 6.15-rc2 when
suspend/resume my system:
nvme nvme0: Failed to get ANA log: 16649
And apply the patch can fix it.
Just FYI
David.
prev parent reply other threads:[~2025-04-16 14:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-14 10:53 Patch "nvme: re-read ANA log page after ns scan completes" causing regression Aithal, Srikanth
2025-04-14 11:09 ` Hannes Reinecke
2025-04-14 11:25 ` Aithal, Srikanth
2025-04-16 14:44 ` David Wang [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=20250416144446.4394-1-00107082@163.com \
--to=00107082@163$(echo .)com \
--cc=Ankit.Soni@amd$(echo .)com \
--cc=hare@kernel$(echo .)org \
--cc=hare@suse$(echo .)de \
--cc=hch@lst$(echo .)de \
--cc=kbusch@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sagi@grimberg$(echo .)me \
--cc=sraithal@amd$(echo .)com \
--cc=vasant.hegde@amd$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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