Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp243709pxf; Wed, 10 Mar 2021 05:31:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwI6sVsHiwQ7SVULgGxPmFde43AotkRIGYs7YoU8QGQzODR+qk0J1m6QPHWzB6ncYzz8yPi X-Received: by 2002:a50:a086:: with SMTP id 6mr3258587edo.70.1615383079378; Wed, 10 Mar 2021 05:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383079; cv=none; d=google.com; s=arc-20160816; b=V5gk7xjNr1e9KWMX1lp7vgdJSmQ5FB56qgzJWzzDRtrX72j0anNy/781gvD1F1CF4i +g0oS4jePBelL2CkfHj+p5HBAOO7Yl0+3nSaiZawEQawfdMiIYaWpscIsZzn+kW6OSvX 17qv3yAkmaDWYCGI5H6OtGVj0NrfE6NI7Hd8u+DPXzWjPl1gxV+g1waO4qg6ZKLu990K SEI0fvulVoQgwpm9ozUmodpZhWRZrhwhzdpjpZnTBjG/pHDO5D3sPv4djixq1asqHWRh Wv250cM4YtztzgtLNh0BNFl7Mzwi9BdrovHY/rh9YDVK5pifgzymM26jJ1oSL6WrHwRL VPXg== 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=5oJSHM+0FHMemQ4wziENpgAkjz/z1ySxhkNcbA6213A=; b=tB/X4RSjULbhFBJDKTPrqX1Qeb/4EdBJoMtPDGPILF8rElOHs/8xFAtjAnHofVJ8dX Gbs3LxBuqM0N73V6EnJSjAlIDh0euafA3S25+MqX0iclkP809MM+JoHgtoHOlbZoi/2s 4ow8lsTM/NY2WaIDhDrZEjBqwapIwsRPWrm79wak4+gOzhZLbBn3H52QV+bc2scUsEEq gnWV9KWfo23PWOfQNnZbik9Fz93ag9gTqmArLPUnIOVStbvQsKGcVMRJTd8RXNSg7zmB YMcNqYWckBLrX+8OVhCUYe0RsBixcvlCN2dW+DMkZlK7jfLs/xETCzPmomWopa0BZSif Ep7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0z6rUu51; 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 gj9si12473136ejb.552.2021.03.10.05.30.56; Wed, 10 Mar 2021 05:31:19 -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=0z6rUu51; 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 S234287AbhCJN3u (ORCPT + 99 others); Wed, 10 Mar 2021 08:29:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:47824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233412AbhCJNZf (ORCPT ); Wed, 10 Mar 2021 08:25:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CF4F8650AE; Wed, 10 Mar 2021 13:25:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382731; bh=a0nBoNvPN7bA+E3xM2wTPPloj/SuJuxmEV11I4k2Hig=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0z6rUu51BjYWjtNuPiTaKD4W6vouAH25ZFso+l0X88SEZFiMW9WzD2saZWS+JHyso gHWFKgy5m1aM1G7VoAL+cW57zuvTuz9RgGJTRMqMzamNoqzgparBBl3/jL6a/eQqfX uLEt6BfCErlqPM6WUpfrU7ADWcM3Aq8OTwaaXewY= 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.10 48/49] nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST. Date: Wed, 10 Mar 2021 14:23:59 +0100 Message-Id: <20210310132323.463924004@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132321.948258062@linuxfoundation.org> References: <20210310132321.948258062@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 4a33287371bd..2aed3b066b85 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3235,7 +3235,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