nvme-pci: add BOGUS_NID for Intel 0a54 device
PATCH 1/1 nvme-pci: add BOGUS_NID for Intel 0a54 device
From: Keith Busch <[email protected]>
These ones claim cmic and nmic capable, so need special consideration to ignore their duplicate identifiers.
Reported-by [email protected]
Signed-off-by Keith Busch <[email protected]>
--- drivers/nvme/host/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/nvme/host/pci.c +2 -1
@@ -3328,7 +3328,8 @@ static const struct pci_device_id nvme_id_table[] = { { PCI_VDEVICE(INTEL, 0x0a54), /* Intel P4500/P4600 */ .driver_data =NVME_QUIRK_STRIPE_SIZE |NVME_QUIRK_DEALLOCATE_ZEROES | - NVME_QUIRK_IGNORE_DEV_SUBNQN, }, +NVME_QUIRK_IGNORE_DEV_SUBNQN | + NVME_QUIRK_BOGUS_NID, }, { PCI_VDEVICE(INTEL, 0x0a55), /* Dell Express Flash P4600 */ .driver_data = NVME_QUIRK_STRIPE_SIZE | NVME_QUIRK_DEALLOCATE_ZEROES, },
Signature · 1 line
2.34.1
Quoted 3 lines · Keith Busch
From: Keith Busch <[email protected]>
These ones claim cmic and nmic capable, so need special consideration to ignore
*sigh*.
The patch looks fine except that the above line should be trimmed a bit.
Reviewed-by Christoph Hellwig <[email protected]>