Skip to content

Commit a98a945

Browse files
author
Christoph Hellwig
committed
nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
The MAXIO MAP1002/1202 controllers reports completely bogus Namespace identifiers that even change after suspend cycles. Disable using the Identifiers entirely. Reported-by: 金韬 <me@kingtous.cn> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Tested-by: 金韬 <me@kingtous.cn>
1 parent 00ff400 commit a98a945

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/nvme/host/pci.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3447,6 +3447,10 @@ static const struct pci_device_id nvme_id_table[] = {
34473447
.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
34483448
{ PCI_DEVICE(0x2646, 0x2263), /* KINGSTON A2000 NVMe SSD */
34493449
.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
3450+
{ PCI_DEVICE(0x1e4B, 0x1002), /* MAXIO MAP1002 */
3451+
.driver_data = NVME_QUIRK_BOGUS_NID, },
3452+
{ PCI_DEVICE(0x1e4B, 0x1202), /* MAXIO MAP1202 */
3453+
.driver_data = NVME_QUIRK_BOGUS_NID, },
34503454
{ PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061),
34513455
.driver_data = NVME_QUIRK_DMA_ADDRESS_BITS_48, },
34523456
{ PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0065),

0 commit comments

Comments
 (0)