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:38:57 +0000 (14:38 +0200)
commitdab2f477e15a9cb967c59e06071ec122e9c75d90
tree95d412585869d012929beaabb76043f450c8cb6d
parent25f37ed22a9e8b01af9429de8c876186fdfb8324
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