summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/pci.c
diff options
context:
space:
mode:
authorTiago Dias Ferreira <tiagodfer@gmail.com>2022-11-16 00:17:56 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-02 17:41:00 +0100
commitf0ee88e83ce98cad8b49542579e2c22f3c294f31 (patch)
treee198d6cb780b64997bbd96f88de650a0dc55d404 /drivers/nvme/host/pci.c
parenta61716cd2401a42457a5948720b5e9c6b566f8b2 (diff)
downloadlinux-stable-f0ee88e83ce98cad8b49542579e2c22f3c294f31.tar.gz
linux-stable-f0ee88e83ce98cad8b49542579e2c22f3c294f31.tar.bz2
linux-stable-f0ee88e83ce98cad8b49542579e2c22f3c294f31.zip
nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV7000
[ Upstream commit 8d6e38f636ac063e8062a21e7616f7d9bf0df5d8 ] Added a quirk to fix the Netac NV7000 SSD reporting duplicate NGUIDs. Cc: <stable@vger.kernel.org> Signed-off-by: Tiago Dias Ferreira <tiagodfer@gmail.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/nvme/host/pci.c')
-rw-r--r--drivers/nvme/host/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index a1a803b3105a..772bdc6845fb 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3375,6 +3375,8 @@ static const struct pci_device_id nvme_id_table[] = {
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
{ PCI_DEVICE(0x2646, 0x501E), /* KINGSTON OM3PGP4xxxxQ OS21011 NVMe SSD */
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
+ { PCI_DEVICE(0x1f40, 0x5236), /* Netac Technologies Co. NV7000 NVMe SSD */
+ .driver_data = NVME_QUIRK_BOGUS_NID, },
{ PCI_DEVICE(0x1e4B, 0x1001), /* MAXIO MAP1001 */
.driver_data = NVME_QUIRK_BOGUS_NID, },
{ PCI_DEVICE(0x1e4B, 0x1002), /* MAXIO MAP1002 */