]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b22695601b7999a0df00e1ccff5b7d4922b038c
tree3ac6f19c5cd9f670573d8ab55fd10d93645f2bfe
parent8de9e8ee0e4b479c8188abcbe7e168729e636c9c
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