nvme-pci: disable namespace identifiers for the MAXIO MAP1001
authorChristoph Hellwig <hch@lst.de>
Fri, 27 May 2022 05:32:08 +0000 (07:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Dec 2022 16:41:00 +0000 (17:41 +0100)
commit19b60f336317d2cee8f8ff02e2773a227f0420d4
treee82a3844ce8ed2fa4e067c980b9ec529ee0ef90c
parentd537e193064097a6a7f09488857bf1687c1474c8
nvme-pci: disable namespace identifiers for the MAXIO MAP1001

[ Upstream commit 70ce3455345d056b5fc427c3bb4a3ff4d126b6d5 ]

The MAXIO MAP1001 controllers reports completely bogus Namespace
identifiers that even change after suspend cycles.  Disable using
the Identifiers entirely.

Reported-by: Arman Hajishafieha <arman.hajishafieha@hotmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Tested-by: Arman Hajishafieha <arman.hajishafieha@hotmail.com>
Stable-dep-of: 8d6e38f636ac ("nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV7000")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/pci.c