From: Farhan Ali <alifm@linux.ibm.com>
To: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
bhelgaas@google.com
Cc: lukas@wunner.de, alifm@linux.ibm.com, mjrosato@linux.ibm.com,
gbayer@linux.ibm.com, schnelle@linux.ibm.com
Subject: [PATCH v1] PCI: Ignore Immediate Readiness for Samsung a826 device
Date: Mon, 23 Nov 2026 13:53:08 -0800 [thread overview]
Message-ID: <20261123215308.1285-1-alifm@linux.ibm.com> (raw)
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>
---
drivers/pci/quirks.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 4a02fc80755d..11c3b45afe78 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -5790,6 +5790,7 @@ static void quirk_no_imm_ready(struct pci_dev *dev)
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SAMSUNG, 0xa80c, quirk_no_imm_ready);
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SAMSUNG, 0xa80d, quirk_no_imm_ready);
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SAMSUNG, 0xa80e, quirk_no_imm_ready);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SAMSUNG, 0xa826, quirk_no_imm_ready);
static void quirk_no_ext_tags(struct pci_dev *pdev)
{
--
2.43.0
next reply other threads:[~2026-11-23 21:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 21:53 Farhan Ali [this message]
2026-11-23 21:58 ` [PATCH v1] PCI: Ignore Immediate Readiness for Samsung a826 device sashiko-bot
2026-11-23 22:50 ` Bjorn Helgaas
2026-11-24 10:24 ` Niklas Schnelle
2026-11-24 17:59 ` Farhan Ali
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=20261123215308.1285-1-alifm@linux.ibm.com \
--to=alifm@linux.ibm.com \
--cc=bhelgaas@google.com \
--cc=gbayer@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=mjrosato@linux.ibm.com \
--cc=schnelle@linux.ibm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.