Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nvme: add BOGUS_NID quirk for Samsung SM953

Add the quirk as SM953 is reporting bogus namespace ID.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=217593
Reported-by: Clemens Springsguth <cspringsguth@gmail.com>
Tested-by: Clemens Springsguth <cspringsguth@gmail.com>
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>

authored by

Pankaj Raghav and committed by
Keith Busch
e5bb0988 2fb48d88

+2
+2
drivers/nvme/host/pci.c
··· 3396 3396 .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, 3397 3397 { PCI_DEVICE(0x144d, 0xa809), /* Samsung MZALQ256HBJD 256G */ 3398 3398 .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, 3399 + { PCI_DEVICE(0x144d, 0xa802), /* Samsung SM953 */ 3400 + .driver_data = NVME_QUIRK_BOGUS_NID, }, 3399 3401 { PCI_DEVICE(0x1cc4, 0x6303), /* UMIS RPJTJ512MGE1QDY 512G */ 3400 3402 .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, 3401 3403 { PCI_DEVICE(0x1cc4, 0x6302), /* UMIS RPJTJ256MGE1QDY 256G */