]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jan 2021 17:26:15 +0000 (18:26 +0100)
commit4cb77b877fcc695d1a31b36e3f7bf835784dc4f4
treebd0abeb4ae55abb5cbe2db0a46f2f306bb21cee1
parent242793c7ef2fe941a42702d37dbc2591979bc32d
nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN

[ Upstream commit 7ee5c78ca3895d44e918c38332921983ed678be0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/pci.c