[PATCH V2] nvme-pci: Add quirk for Teamgroup MP33 SSD

Daniel Smith dansmith at ds.gy
Wed May 17 15:21:41 PDT 2023


On Wed, May 17, 2023 at 5:32 PM Chaitanya Kulkarni <kch at nvidia.com> wrote:
>
> From: Daniel Smith <dansmith at ds.gy>
>
> Add a quirk for Teamgroup MP33 that reports duplicate ids for disk.
>
> Signed-off-by: Daniel Smith <dansmith at ds.gy>
> [kch: patch formatting]
> Signed-off-by: Chaitanya Kulkarni <kch at 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 at ds.gy>



More information about the Linux-nvme mailing list