Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp243441pxf; Wed, 10 Mar 2021 05:30:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBocOnX0Qr6JQmMdf0D2xRzDK6OSbI8x7Mx1iMxeiRoBCMO/EMdIeMDC4tSBToyhkh1S5g X-Received: by 2002:a17:906:33d9:: with SMTP id w25mr3764319eja.413.1615383058764; Wed, 10 Mar 2021 05:30:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383058; cv=none; d=google.com; s=arc-20160816; b=L1MJ9gbAiqOjmzWdk1YGaQSuteuRnj6HpI17W63zWXQqOSnwwqV1ChaCc/8R08LVrT Aqv1wEnquJn8+MpBEp7T2pRTVCuKXivrSGkVJXu6xEifFB+yGtrOm0Xf2cKtHM/NyXaf LS95GB1ScY14vSE+2kJqciwsX4DbJgtlSfdHylEdVsIgZfrcQlnMor9EnV/OHwae03dm /xrpku9kRmZgGggjCgvI/SAYqt759/OXzvLz3XTGNmcGp0BafhSF1+aEXKSlcinbrpb1 m72FbttI5qKI7lct/xlND8p4AfVYnBCCgZUNP8DfpsZo58+JF+7y/3pIx1iJMPCVa9WO qYCg== 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=7yGZF2KniWrC0AdvjLNbX1bzNHeLYexgmww6LEaw5Wg=; b=O6wXSjd1BD95bL3swgeKPSHRq87SUvb8GPIlGVFeq3ljMt97FyjBCpfOvUarOPIU0g mizRc9S3n4/nMYK8qKv8xqVIaKfZLh3zHPeRvjWPUdXBc6yos3RdxQNMQhnq58gmqFJb 2iqpA9SFfF9Pxo87rMeTyXgWD6WLov/A15+qSpOHAPgt5x904twGk/NtwltvtTGZL7y1 6CnY6GrCuP4b5s1Kxn2MS2mGQHUKCMr7bizEwGG8qpQy3COeP/ZO0okGsm6fuiFwxX+h Pu5+GpD8ormzpTB1HEAJ3kNrK0cA7GLOrRsapCTHon6lRhvWlj/bEWE0eHUj0Bdm7gVe vZgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b9avnoMo; 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 cy27si11635822edb.529.2021.03.10.05.30.35; Wed, 10 Mar 2021 05:30:58 -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=b9avnoMo; 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 S234219AbhCJN3k (ORCPT + 99 others); Wed, 10 Mar 2021 08:29:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:48270 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233404AbhCJNZf (ORCPT ); Wed, 10 Mar 2021 08:25:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AA6E26501D; Wed, 10 Mar 2021 13:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382732; bh=bQC+Pz89JQdZmN8BqqKogRHgScs9iOKYbo5vn99uHaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b9avnoMoYS6C8QjRgWcNHWOg6DEu0f4GleboM1dLXZt94En2bVL3PajFz7+58sJ8p 6jilgJ7zu9UHIL8Uim6ITUB0ABP78lf4WuoBG05Ix4tZsB1zqTdwbf0TJPxEeWVK5Q Ranth64murhqrTQOU7Bw+wNpb8J9TksQBo4c6j0s= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pascal Terjan , Christoph Hellwig , Sasha Levin Subject: [PATCH 5.10 49/49] nvme-pci: add quirks for Lexar 256GB SSD Date: Wed, 10 Mar 2021 14:24:00 +0100 Message-Id: <20210310132323.495916104@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: Pascal Terjan [ Upstream commit 6e6a6828c517fb6819479bf5187df5f39084eb9e ] Add the NVME_QUIRK_NO_NS_DESC_LIST and NVME_QUIRK_IGNORE_DEV_SUBNQN quirks for this buggy device. Reported and tested in https://bugs.mageia.org/show_bug.cgi?id=28417 Signed-off-by: Pascal Terjan Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/host/pci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 2aed3b066b85..d4f01fc455c8 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3250,6 +3250,9 @@ static const struct pci_device_id nvme_id_table[] = { NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE(0x1987, 0x5016), /* Phison E16 */ .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, }, + { PCI_DEVICE(0x1b4b, 0x1092), /* Lexar 256 GB SSD */ + .driver_data = NVME_QUIRK_NO_NS_DESC_LIST | + NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE(0x1d1d, 0x1f1f), /* LighNVM qemu device */ .driver_data = NVME_QUIRK_LIGHTNVM, }, { PCI_DEVICE(0x1d1d, 0x2807), /* CNEX WL */ -- 2.30.1