nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN
authorGopal Tiwari <gtiwari@redhat.com>
Fri, 4 Dec 2020 16:16:57 +0000 (21:46 +0530)
committerChristoph Hellwig <hch@lst.de>
Wed, 6 Jan 2021 09:30:36 +0000 (10:30 +0100)
commit7ee5c78ca3895d44e918c38332921983ed678be0
tree3ac6f19c5cd9f670573d8ab55fd10d93645f2bfe
parent2b54996b7d56badc563755840838614f2fa9c4de
nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN

A system with more than one of these SSDs will only have one usable.
Hence the kernel fails to detect nvme devices due to duplicate cntlids.

[    6.274554] nvme nvme1: Duplicate cntlid 33 with nvme0, rejecting
[    6.274566] nvme nvme1: Removing after probe failure status: -22

Adding the NVME_QUIRK_IGNORE_DEV_SUBNQN quirk to resolves the issue.

Signed-off-by: Gopal Tiwari <gtiwari@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c