public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/3] nvme-pci: phison e12 has bogus namespace ids
@ 2022-06-13 14:45 Keith Busch
  2022-06-13 14:45 ` [PATCH 2/3] nvme-pci: smi " Keith Busch
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Keith Busch @ 2022-06-13 14:45 UTC (permalink / raw)
  To: linux-nvme; +Cc: hch, Keith Busch

From: Keith Busch <kbusch@kernel.org>

Add the quirk.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049
Signed-off-by: Keith Busch <kbusch@kernel.org>
---
 drivers/nvme/host/pci.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 48f4f6eb877b..4b4ffb047c61 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3437,6 +3437,8 @@ static const struct pci_device_id nvme_id_table[] = {
 		.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY |
 				NVME_QUIRK_DISABLE_WRITE_ZEROES|
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+	{ PCI_DEVICE(0x1987, 0x5012),	/* Phison E12 */
+		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1987, 0x5016),	/* Phison E16 */
 		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
 	{ PCI_DEVICE(0x1b4b, 0x1092),	/* Lexar 256 GB SSD */
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/3] nvme-pci: smi has bogus namespace ids
  2022-06-13 14:45 [PATCH 1/3] nvme-pci: phison e12 has bogus namespace ids Keith Busch
@ 2022-06-13 14:45 ` Keith Busch
  2022-06-13 14:45 ` [PATCH 3/3] nvme-pci: sk hynix p31 " Keith Busch
  2022-06-13 17:58 ` [PATCH 1/3] nvme-pci: phison e12 " Christoph Hellwig
  2 siblings, 0 replies; 4+ messages in thread
From: Keith Busch @ 2022-06-13 14:45 UTC (permalink / raw)
  To: linux-nvme; +Cc: hch, Keith Busch

From: Keith Busch <kbusch@kernel.org>

Add the quirk.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216096
Signed-off-by: Keith Busch <kbusch@kernel.org>
---
 drivers/nvme/host/pci.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 4b4ffb047c61..fc9b7c866a75 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3421,7 +3421,8 @@ static const struct pci_device_id nvme_id_table[] = {
 	{ PCI_VDEVICE(REDHAT, 0x0010),	/* Qemu emulated controller */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x126f, 0x2263),	/* Silicon Motion unidentified */
-		.driver_data = NVME_QUIRK_NO_NS_DESC_LIST, },
+		.driver_data = NVME_QUIRK_NO_NS_DESC_LIST |
+				NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1bb1, 0x0100),   /* Seagate Nytro Flash Storage */
 		.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY |
 				NVME_QUIRK_NO_NS_DESC_LIST, },
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 3/3] nvme-pci: sk hynix p31 has bogus namespace ids
  2022-06-13 14:45 [PATCH 1/3] nvme-pci: phison e12 has bogus namespace ids Keith Busch
  2022-06-13 14:45 ` [PATCH 2/3] nvme-pci: smi " Keith Busch
@ 2022-06-13 14:45 ` Keith Busch
  2022-06-13 17:58 ` [PATCH 1/3] nvme-pci: phison e12 " Christoph Hellwig
  2 siblings, 0 replies; 4+ messages in thread
From: Keith Busch @ 2022-06-13 14:45 UTC (permalink / raw)
  To: linux-nvme; +Cc: hch, Keith Busch

From: Keith Busch <kbusch@kernel.org>

Add the quirk.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049
Signed-off-by: Keith Busch <kbusch@kernel.org>
---
 drivers/nvme/host/pci.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index fc9b7c866a75..8bc6edb7b617 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3452,6 +3452,8 @@ static const struct pci_device_id nvme_id_table[] = {
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
 	{ PCI_DEVICE(0x1c5c, 0x1504),   /* SK Hynix PC400 */
 		.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
+	{ PCI_DEVICE(0x1c5c, 0x174a),   /* SK Hynix P31 SSD */
+		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x15b7, 0x2001),   /*  Sandisk Skyhawk */
 		.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
 	{ PCI_DEVICE(0x1d97, 0x2263),   /* SPCC */
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] nvme-pci: phison e12 has bogus namespace ids
  2022-06-13 14:45 [PATCH 1/3] nvme-pci: phison e12 has bogus namespace ids Keith Busch
  2022-06-13 14:45 ` [PATCH 2/3] nvme-pci: smi " Keith Busch
  2022-06-13 14:45 ` [PATCH 3/3] nvme-pci: sk hynix p31 " Keith Busch
@ 2022-06-13 17:58 ` Christoph Hellwig
  2 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2022-06-13 17:58 UTC (permalink / raw)
  To: Keith Busch; +Cc: linux-nvme, hch, Keith Busch

Thanks,

applied to nvme-5.19.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-13 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-13 14:45 [PATCH 1/3] nvme-pci: phison e12 has bogus namespace ids Keith Busch
2022-06-13 14:45 ` [PATCH 2/3] nvme-pci: smi " Keith Busch
2022-06-13 14:45 ` [PATCH 3/3] nvme-pci: sk hynix p31 " Keith Busch
2022-06-13 17:58 ` [PATCH 1/3] nvme-pci: phison e12 " Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox