Linux PCI subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Farhan Ali" <alifm@linux.ibm.com>, linux-pci@vger.kernel.org
Subject: Re: [PATCH v1] PCI: Ignore Immediate Readiness for Samsung a826 device
Date: Mon, 23 Nov 2026 21:58:22 +0000	[thread overview]
Message-ID: <sashiko-outbox-230094@kernel.org> (raw)
In-Reply-To: <20261123215308.1285-1-alifm@linux.ibm.com>

> The Samsung NVMe SSD Controller PM174x [144d:a826] advertises Immediate
> Readiness, so pcie_flr() doesn't wait after FLR, but the device isn't ready
> yet and config reads return ~0 after the reset. This happens with
> firmware version SNA6SNA6 or older.
> 
> This was seen on s390x with the nvme driver bound, by resetting the device
> via the sysfs reset attribute:
> 
>   # echo 1 > /sys/bus/pci/devices/200c:00:00.0/reset
> 
>   nvme 200c:00:00.0: Unable to change power state from D3cold to D0, device inaccessible
>   nvme nvme0: Disabling device after reset failure: -19
> 
> Ignore Immediate Readiness on this device too, so pcie_flr() waits.
> 
> Fixes: 10baa9b4df40 ("PCI: Drop unnecessary retries when restoring BARs")
> Signed-off-by: Farhan Ali <alifm@linux.ibm.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123215308.1285-1-alifm@linux.ibm.com?part=1

      reply	other threads:[~2026-11-23 21:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 21:53 [PATCH v1] PCI: Ignore Immediate Readiness for Samsung a826 device Farhan Ali
2026-11-23 21:58 ` sashiko-bot [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=sashiko-outbox-230094@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=alifm@linux.ibm.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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