nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
authorJulian Einwag <jeinwag-nvme@marcapo.com>
Tue, 16 Feb 2021 12:25:43 +0000 (13:25 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 5 Mar 2021 12:40:55 +0000 (13:40 +0100)
commit5e112d3fb89703a4981ded60561b5647db3693bf
treeaf6c5bfba8a79b80643d8ff683cfbd504d50efe4
parent77516d25f54912a7baedeeac1b1b828b6f285152
nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.

The kernel fails to fully detect these SSDs, only the character devices
are present:

[   10.785605] nvme nvme0: pci function 0000:04:00.0
[   10.876787] nvme nvme1: pci function 0000:81:00.0
[   13.198614] nvme nvme0: missing or invalid SUBNQN field.
[   13.198658] nvme nvme1: missing or invalid SUBNQN field.
[   13.206896] nvme nvme0: Shutdown timeout set to 20 seconds
[   13.215035] nvme nvme1: Shutdown timeout set to 20 seconds
[   13.225407] nvme nvme0: 16/0/0 default/read/poll queues
[   13.233602] nvme nvme1: 16/0/0 default/read/poll queues
[   13.239627] nvme nvme0: Identify Descriptors failed (8194)
[   13.246315] nvme nvme1: Identify Descriptors failed (8194)

Adding the NVME_QUIRK_NO_NS_DESC_LIST fixes this problem.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205679
Signed-off-by: Julian Einwag <jeinwag-nvme@marcapo.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c