Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp243205pxf; Wed, 10 Mar 2021 05:30:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0s4uvqDshaOcrdS2ITBiywN4LJbuQa3THInCn6kTJHBYAnjskUdFAG8xth7kuXBDzvDyp X-Received: by 2002:aa7:d98b:: with SMTP id u11mr3369178eds.352.1615383038560; Wed, 10 Mar 2021 05:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383038; cv=none; d=google.com; s=arc-20160816; b=tgFk+pTKC0tGG7kBHetVVMSMIUUiQ9ehb92/PNx3qiwR5lsCWrKRfqT1qPiYoiPdut cuFebhWjerovYL2EA7LZWRrt3ad1mrPcm/RrnRtk9eYIfI5e/DMUk1DY1ofWadXBQNez IYsd3ldeybtV162qkaMe6MuWZdcTPH06YsmBqG2J4tNi0tFdTmM53P8oKCalVwLw5Ut5 WL4WksRUUHenG+D3U6YWxCcogGTaQrTWF+uwBt1+72fop+8TYxOVAUdNxvuRv+6B4TsO TrJn9CcxNkmljYWdU0fD0LhnVJcVEHrTansM3t/q7wcYLknoe89ZCoDbYKW05J0zUtWn +fFQ== 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=D1SXqjUTADDuepQpYGUViojlHPZJxQxcvlkCo0CpMGk=; b=NjH9cUd4qAggjQntb+Sv5kq9K79EjnNJrx+QmNutSm2pYHkeLUpYM4AlpKCeBpujCa 9yZMPlNByBh+7XrKhQrjKPRJ15fFC5GnJDwvEZ+1yJNHlD0mMpUHyt2PhkCG/ULzgPVS 9+G0FLrnmUtOBlUuPiaBJ6izrLK8KUrCfjTk8YD9r/HVP9IZjd15vLBz7MEqMMpxOUJR PUblfWsQe2njdEbSOfnI0vFwWzkfuvQWnwEbleZEVUOZZQdb0Zi5h1u/rjNr9UqDDHr5 QZNBSJfzzJslp86VEn7GrMClF7Z8a07bi2DYQY84mgHfRmxfb4je8KC6OByKQ1q5Q4pS ZGxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zrg8HlHP; 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 l20si10864258ejn.375.2021.03.10.05.30.14; Wed, 10 Mar 2021 05:30: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=zrg8HlHP; 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 S233890AbhCJN10 (ORCPT + 99 others); Wed, 10 Mar 2021 08:27:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:46494 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233157AbhCJNY7 (ORCPT ); Wed, 10 Mar 2021 08:24:59 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 331A264FDA; Wed, 10 Mar 2021 13:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382699; bh=QVQ0krjUOVVBoQk6LSMToA6UhcLSm7Th9wTI+qxiJBU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zrg8HlHPOcVsDjFAc/4zdEdrOgKfjx7XmLBYvVq76mfsTrGuVmb7/wqNxT7RttRwn 7HTI/2V2RjFSNnZo2nE1mZtMv40VuvZXsZ3yySSCKhdiuEXCa5ODeVaH2xbpVHd1Pb jhy5COVqG4z/6fy3BJ1I5aH2GQ/8bB5MVzdLt3Ds= 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.11 36/36] nvme-pci: add quirks for Lexar 256GB SSD Date: Wed, 10 Mar 2021 14:23:49 +0100 Message-Id: <20210310132321.662840130@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: 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 14c5b52400ef..806a5d071ef6 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3245,6 +3245,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