Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp243307pxf; Wed, 10 Mar 2021 05:30:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz79EqCIM8QKtMV1HVIzsYt6joN71m4Kc1xFdvTD9Gao0iWAB/8JXqyoESePr396R5UZ7qn X-Received: by 2002:a17:907:7799:: with SMTP id ky25mr3610891ejc.217.1615383047441; Wed, 10 Mar 2021 05:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383047; cv=none; d=google.com; s=arc-20160816; b=b4fmWPsLSJ+qe8BgkNoun1BrOSZU93/R7ZbiW4LXO6A3/eAfAJb5NVaehgp9E68rlq Cuh3vlMMFucAh4Hy39A7mThlnmLRJdltXo/CiOjjnvABl5oSFXw9D0AvLLnjdd6cvNcS LzEZWEACBbt5vK67TINDM5L8hhE2PjdrdrHo+8+8cTdiKgqvGpHkyfkYrKhq1d1tIR4/ rDrlYtH8kQ5YlVfb4FbfxcHmt4gArNspdIFgn6PBGOfste0WeH8jWXpyCv18EVBN6a88 r5pawqPoTb1+E3ViLV+bp1sg8hOIn+r7IibUW3SFOskLdNd31bzuBooYxeyfcCJJh+tt 68Pw== 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=F7ml0vm3qZPn/9Faf+9FFPpuucvwz7uhGx3X9haQSsQ=; b=vGZPovm9hjOoy5IQ8uNm4OXXTAxgWoNlU3wpiHzTN7KNbA/CSs2IWvK/JRjvMvMlEO aR5xKzGITnL+1fqXYmJ0/QQ2JWSHXxWCWnEjlXRf4CWfbqLaNRQ4fAEa0kmBUmLIwXJO PFWAWeDmAKiUcAF1oYa/i3t0MGZabPeumsKWk7o4i5jk/dtz+Geaz6XvFPgoRG9+q8Yx L53/HPaf4nRUpAAkzLQ+S43Tf8KI0CJd65UVGM161BrhugXeuerccMIvrr5iLD5xKGzO r+v7HksdFnOselkIixMtPo4YkYMKHcRfK6r5//s2f2BV2hyRSGs2aznMlZ/Je9BvFlXI /KiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=X2WBWdCa; 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 u11si11427167ejm.399.2021.03.10.05.30.24; Wed, 10 Mar 2021 05:30:47 -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=X2WBWdCa; 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 S233840AbhCJN3a (ORCPT + 99 others); Wed, 10 Mar 2021 08:29:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:48030 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233314AbhCJNZV (ORCPT ); Wed, 10 Mar 2021 08:25:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B818765035; Wed, 10 Mar 2021 13:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382720; bh=haZbKY+LwdlMAR+Cpno/oRDsvFKF4Y+ZR+68lTwbYBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X2WBWdCah9GAVF3mnPlkVLzIBTnspYDTdascj9rUwNfXxvF9/7PNZMfNX2NCvZSv6 ZjOXXUkq/DJlY8CrN0sNqq0veHe5oDf9prHoHmEMaK+oF9IARkmXi0JktEJFLY+604 zNI6W0UGvUV22h2Wk4bzu7/B8Q2Jn8PWYd2oUO28= 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.4 24/24] nvme-pci: add quirks for Lexar 256GB SSD Date: Wed, 10 Mar 2021 14:24:36 +0100 Message-Id: <20210310132321.289988326@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.550932445@linuxfoundation.org> References: <20210310132320.550932445@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 197a5cd253c3..fc18738dcf8f 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3179,6 +3179,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