linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] nvme-pci: Add quirk for Teamgroup MP33 SSD
@ 2023-05-17 21:32 Chaitanya Kulkarni
  2023-05-17 22:21 ` Daniel Smith
  2023-05-19  2:13 ` Keith Busch
  0 siblings, 2 replies; 3+ messages in thread
From: Chaitanya Kulkarni @ 2023-05-17 21:32 UTC (permalink / raw)
  To: dansmith; +Cc: linux-nvme, kbusch, hch, sagi, Chaitanya Kulkarni

From: Daniel Smith <dansmith@ds.gy>

Add a quirk for Teamgroup MP33 that reports duplicate ids for disk.

Signed-off-by: Daniel Smith <dansmith@ds.gy>
[kch: patch formatting]
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
---
Hi Daniel,

Can you please make sure this patch works as expected on nvme-6.5 ?

I believe you already have the git repo link, above is the right branch.

-ck

V2: add original author.

 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 b027e5e3f4ac..b36c12238f1d 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3440,6 +3440,8 @@ static const struct pci_device_id nvme_id_table[] = {
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
 	{ PCI_DEVICE(0x10ec, 0x5763), /* TEAMGROUP T-FORCE CARDEA ZERO Z330 SSD */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
+	{ PCI_DEVICE(0x10ec, 0x5765), /* TEAMGROUP MP33 2TB SSD */
+		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061),
 		.driver_data = NVME_QUIRK_DMA_ADDRESS_BITS_48, },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0065),
-- 
2.40.0



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

* Re: [PATCH V2] nvme-pci: Add quirk for Teamgroup MP33 SSD
  2023-05-17 21:32 [PATCH V2] nvme-pci: Add quirk for Teamgroup MP33 SSD Chaitanya Kulkarni
@ 2023-05-17 22:21 ` Daniel Smith
  2023-05-19  2:13 ` Keith Busch
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Smith @ 2023-05-17 22:21 UTC (permalink / raw)
  To: Chaitanya Kulkarni; +Cc: linux-nvme, kbusch, hch, sagi

On Wed, May 17, 2023 at 5:32 PM Chaitanya Kulkarni <kch@nvidia.com> wrote:
>
> From: Daniel Smith <dansmith@ds.gy>
>
> Add a quirk for Teamgroup MP33 that reports duplicate ids for disk.
>
> Signed-off-by: Daniel Smith <dansmith@ds.gy>
> [kch: patch formatting]
> Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
> ---
> Hi Daniel,
>
> Can you please make sure this patch works as expected on nvme-6.5 ?
>
> I believe you already have the git repo link, above is the right branch.
>
> -ck
> V2: add original author.
>
>  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 b027e5e3f4ac..b36c12238f1d 100644
> --- a/drivers/nvme/host/pci.c
> +++ b/drivers/nvme/host/pci.c
> @@ -3440,6 +3440,8 @@ static const struct pci_device_id nvme_id_table[] = {
>                                 NVME_QUIRK_IGNORE_DEV_SUBNQN, },
>         { PCI_DEVICE(0x10ec, 0x5763), /* TEAMGROUP T-FORCE CARDEA ZERO Z330 SSD */
>                 .driver_data = NVME_QUIRK_BOGUS_NID, },
> +       { PCI_DEVICE(0x10ec, 0x5765), /* TEAMGROUP MP33 2TB SSD */
> +               .driver_data = NVME_QUIRK_BOGUS_NID, },
>         { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061),
>                 .driver_data = NVME_QUIRK_DMA_ADDRESS_BITS_48, },
>         { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0065),
> --
> 2.40.0

tested-by: Daniel Smith <dansmith@ds.gy>


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

* Re: [PATCH V2] nvme-pci: Add quirk for Teamgroup MP33 SSD
  2023-05-17 21:32 [PATCH V2] nvme-pci: Add quirk for Teamgroup MP33 SSD Chaitanya Kulkarni
  2023-05-17 22:21 ` Daniel Smith
@ 2023-05-19  2:13 ` Keith Busch
  1 sibling, 0 replies; 3+ messages in thread
From: Keith Busch @ 2023-05-19  2:13 UTC (permalink / raw)
  To: Chaitanya Kulkarni; +Cc: dansmith, linux-nvme, hch, sagi

Thanks, applied to nvme-6.4.


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

end of thread, other threads:[~2023-05-19  2:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 21:32 [PATCH V2] nvme-pci: Add quirk for Teamgroup MP33 SSD Chaitanya Kulkarni
2023-05-17 22:21 ` Daniel Smith
2023-05-19  2:13 ` Keith Busch

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).