diff options
author | Keith Busch <kbusch@kernel.org> | 2022-06-13 07:45:49 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-06-13 19:56:56 +0200 |
commit | c4f01a776b28378f4f61b53f8cb0e358f4fa3721 (patch) | |
tree | 95d3c4411af06b4120c27d693e461dc8184bfd4d /drivers/nvme | |
parent | c98a879312caf775c9768faed25ce1c013b4df04 (diff) | |
download | linux-c4f01a776b28378f4f61b53f8cb0e358f4fa3721.tar.gz |
nvme-pci: sk hynix p31 has bogus namespace ids
Add the quirk.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/host/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 0d2113468523..82b4daa9bf95 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3476,6 +3476,8 @@ static const struct pci_device_id nvme_id_table[] = { NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE(0x1c5c, 0x1504), /* SK Hynix PC400 */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, + { PCI_DEVICE(0x1c5c, 0x174a), /* SK Hynix P31 SSD */ + .driver_data = NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(0x15b7, 0x2001), /* Sandisk Skyhawk */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x1d97, 0x2263), /* SPCC */ |