* [PATCH] nvme-pci: Add quirk changes for Samsung X5 SSDs
@ 2022-03-16 7:54 monish.kumar.r
2022-03-23 8:20 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: monish.kumar.r @ 2022-03-16 7:54 UTC (permalink / raw)
To: kbusch, axboe, hch, sagi, linux-nvme, linux-kernel
Cc: abhijeet.rao, monish.kumar.r
From: Monish Kumar R <monish.kumar.r@intel.com>
Add quirks to not fail the initialization and to
have quick resume latency after cold/warm reboot.
Signed-off-by: Monish Kumar R <monish.kumar.r@intel.com>
---
drivers/nvme/host/pci.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 6a99ed680915..c1150e01394c 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3463,7 +3463,10 @@ static const struct pci_device_id nvme_id_table[] = {
NVME_QUIRK_128_BYTES_SQES |
NVME_QUIRK_SHARED_TAGS |
NVME_QUIRK_SKIP_CID_GEN },
-
+ { PCI_DEVICE(0x144d, 0xa808), /* Samsung X5 */
+ .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY|
+ NVME_QUIRK_NO_DEEPEST_PS |
+ NVME_QUIRK_IGNORE_DEV_SUBNQN, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ 0, }
};
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nvme-pci: Add quirk changes for Samsung X5 SSDs
2022-03-16 7:54 [PATCH] nvme-pci: Add quirk changes for Samsung X5 SSDs monish.kumar.r
@ 2022-03-23 8:20 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2022-03-23 8:20 UTC (permalink / raw)
To: monish.kumar.r
Cc: kbusch, axboe, hch, sagi, linux-nvme, linux-kernel, abhijeet.rao
Thanks,
applied to nvme-5.18.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-23 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-16 7:54 [PATCH] nvme-pci: Add quirk changes for Samsung X5 SSDs monish.kumar.r
2022-03-23 8:20 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).