Skip to contentSkip to conversation

nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD

PATCH In review Nils Kruse 3 participants 4 messages Jun 11, 2023 – Jul 17, 2023

Subsystems (2)
lore
Share & tools
lore

Nils Kruse

author
#0 lore raw

PATCH 1/1 nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD

Add a quirk for Samsung PM9B1 256G and 512G that reports duplicate ids for disk.

---
 drivers/nvme/host/pci.c | 3 ++-

 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/nvme/host/pci.c +0 -0
index 60f51155a6d2..de5e4c7e4bc9 100644
@@ -3395,7 +3395,8 @@ static const struct pci_device_id nvme_id_table[] = {

     { PCI_DEVICE(0x1d97, 0x2263),   /* SPCC */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x144d, 0xa80b),   /* Samsung PM9B1 256G and 512G */ -        .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, +        .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES |
+                NVME_QUIRK_BOGUS_NID, },
     { PCI_DEVICE(0x144d, 0xa809),   /* Samsung MZALQ256HBJD 256G */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x1cc4, 0x6303),   /* UMIS RPJTJ512MGE1QDY 512G */

Signature · 1 line
2.41.0
#1 lore raw
FYI: kernel test robot notices the stable kernel rule is not satisfied.

Hi,

Thanks for your patch.

FYI: kernel test robot notices the stable kernel rule is not satisfied.

Rule: 'Cc: [email protected]' or 'commit <sha1> upstream.'
Subject: [PATCH] nvme-pci: Add quirk for Samsung PM9B1 256G and 512G SSD

The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki