nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Apr 2022 06:05:27 +0000 (08:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Apr 2022 12:41:10 +0000 (14:41 +0200)
commite2368e4878bd6ac62953aaa341c1aece7a2bb6f8
tree0192bafb5ed1ccfc7def4d9a862bb47a7a8fa89d
parentea1dcc12c43ed6b21cb2be92b148a39fdfd58b87
nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202

[ Upstream commit a98a945b80f8684121d477ae68ebc01da953da1f ]

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

Reported-by: 金韬 <me@kingtous.cn>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Tested-by: 金韬 <me@kingtous.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/pci.c