Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp241810pxf; Wed, 10 Mar 2021 05:28:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvMd0vUed7yUmPDPnrjtKvjBGNapbhO3IyOztpg2f2zdxalBWQN+LbIrSs6imCHuUKsorp X-Received: by 2002:a17:906:b817:: with SMTP id dv23mr3691964ejb.281.1615382918033; Wed, 10 Mar 2021 05:28:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382918; cv=none; d=google.com; s=arc-20160816; b=FTiNufl6t/fNtCVEqI8YoMEUOPKJy5CSUdsnLYo/YOU2Tg5lOEd+mmfrtZyMRpvyhr PEEx4Xe+CIKnIfmHGWMyNWLWpE6zxSdKMi6CmZgXLnXyVcGJT8Ypqyq0SiWM6feIuX3F sfo+FZmhhXj+y5F03PkrEV78/uhtFgtpJwUyMcPfX+dZSjeneLp64d2MWJpF52nKuzt8 JdfxkRXSqvAU6YDdCOj758VlC2yRpfGGorj1qswGE0K+H3osCx1ofClibsuxAQt3MrbW 9ZDO56O9jD0nKMlmkStJibEteJkTh/SIbdo2oF6xCkZ7FUL965c01t6GfCVPg70yemNq aHGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oDxHGZrutlTnuZL2MPWwpWRMI5/wqMx4fT1SOwmcngQ=; b=CqqI/B3xgP2IfQTmRWSEM8P7eKv+xDV9H45XLOgx5FgO6l8ug3jD8Uk8Nrjo2rff3W oRvkGlk0HCCojPGTNwOxMQfO7ccG1m0EKLDUymbn9yUv4KRkN1tFn2ptQv0bEJbU7eWB WabPav6gSvYlphbTnYfgdYD8J6VptH4w8cZgN3pZ2OgjjwP7yktACzq2POuvh4bA4pDI Q47Fb/tolP8bZeZ17Cj/e8C9ZI5BU6N4JOX860kIg4DVT7BWm1tYJEumjrvcv7Th66A1 mhgctrUhl3rWP/BYnZ4UbNkX8SSZlAgK9xpBtFe/PSLTAvefN1II+GnVzbjsLdrqt8L9 iMwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fRy5YxUE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ks7si11657087ejb.682.2021.03.10.05.28.13; Wed, 10 Mar 2021 05:28:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fRy5YxUE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233830AbhCJN1P (ORCPT + 99 others); Wed, 10 Mar 2021 08:27:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:46452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233139AbhCJNY6 (ORCPT ); Wed, 10 Mar 2021 08:24:58 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 30D5C64FE8; Wed, 10 Mar 2021 13:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382697; bh=QEn1LhQOqN7gYetNL6EmWvO6NziwMgpc7dBUk+ZT2Uo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fRy5YxUEcAEynRbn0d6ziW6JGmOQlU5fk9d5qg4OLsB4nGZKq4GhBxQHZrIqOs8Qo C5s+QH/1J22x+BPpNtq5ULcQtpZJ31CwIHN06Nmf/mn/jOHf70mtdHhu7wROv3g4VO QWLu1olnVy5dfLRDqYkbIVs2oczCEV+kSELYVQhQ= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Julian Einwag , Christoph Hellwig , Keith Busch , Sasha Levin Subject: [PATCH 5.11 35/36] nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST. Date: Wed, 10 Mar 2021 14:23:48 +0100 Message-Id: <20210310132321.629093026@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.510840709@linuxfoundation.org> References: <20210310132320.510840709@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman From: Julian Einwag [ Upstream commit 5e112d3fb89703a4981ded60561b5647db3693bf ] 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 Signed-off-by: Christoph Hellwig Reviewed-by: Keith Busch Signed-off-by: Sasha Levin --- drivers/nvme/host/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 6bad4d4dcdf0..7a38d764b486 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3230,7 +3230,8 @@ static const struct pci_device_id nvme_id_table[] = { { PCI_DEVICE(0x126f, 0x2263), /* Silicon Motion unidentified */ .driver_data = NVME_QUIRK_NO_NS_DESC_LIST, }, { PCI_DEVICE(0x1bb1, 0x0100), /* Seagate Nytro Flash Storage */ - .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, }, + .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY | + NVME_QUIRK_NO_NS_DESC_LIST, }, { PCI_DEVICE(0x1c58, 0x0003), /* HGST adapter */ .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, }, { PCI_DEVICE(0x1c58, 0x0023), /* WDC SN200 adapter */ -- 2.30.1