Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4478854imw; Tue, 19 Jul 2022 07:22:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tb+NCo/MMO2ClhEPguQJ0zCMlCiXu7t9LIVQDt53bvbptuB1eLQV0RKKBI0Ubmqw5KlwmH X-Received: by 2002:a05:6870:c186:b0:101:f97d:eff4 with SMTP id h6-20020a056870c18600b00101f97deff4mr17148969oad.289.1658240539097; Tue, 19 Jul 2022 07:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658240539; cv=none; d=google.com; s=arc-20160816; b=RRG/Ahm9juc6PPpj9kWt1yqxwjOi79MnSwWr5U4qrUwF+szqtQz739frk0DdCq/Dyf a7gBNhWhV4Us9Pq6QQu4u3UQ7FZm40w+BWh40+cRI9QyF/WJsCEoWqC0ijJ6k3E98ws2 AWYPQ4hONXM6CKdqF0CMi7AJtFRSpzk7V+FRyGxBIhRNlDmKKtAcXuTGj0WC1jqbY2La 9vnlQWCtnV1u6GmCtEDEZqwgtMv9ykgZMzbzpx4tXy8L62styNp2PjyWYZgJ84NwPQx2 ZfRSuj0j93vElJQrHkd5mhULd2PWcNq8Ojb+V0y0qR5qqLcOqhTdQVqhnb8nj7Jb3s48 G59Q== 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=TPviIXjrKOnj3TZvpGTiDmOKSTlMs45cZCuz3s+ODpE=; b=w45I3JYywauw+xWArqa+lYQjboktcuj22TlBN3vCBMxvP3n3V9Su5DorQqkuieQWK3 vZXSg+TuKqw5KtUZ1n1nVYyN/lK8C+ofAXcnUiWN16i/oOfuNOUkva6TCt4hBEOS4v+L LG9qrHyq67SbSXX6U9KddzNmChHuDC9ApWCWqqEG40Bpfptd0zTkoc1zLhFHm/D2/IaR BRPmM2+0cwWO/QGee9pBuRViSg+ri8Z1NfIoY0wCFTGz+YlHq9sjIumogUwNc6uGvwIA gglHNEELAFRVabVweM3Y+CEhwXGinHShSYjDcxEZqXBjmAvdcHNbULspQ7e1lbMl2p9T yOCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YPNcY29e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cy7-20020a056870b68700b0010d0c701a95si1643409oab.62.2022.07.19.07.22.05; Tue, 19 Jul 2022 07:22:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YPNcY29e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S243517AbiGSNNH (ORCPT + 99 others); Tue, 19 Jul 2022 09:13:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237103AbiGSNMK (ORCPT ); Tue, 19 Jul 2022 09:12:10 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8192D67C92; Tue, 19 Jul 2022 05:29:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 00ABFCE1BE3; Tue, 19 Jul 2022 12:29:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAA90C341C6; Tue, 19 Jul 2022 12:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658233775; bh=TrRXWrkQMD56R74PiDCIB/2Sib6HRyWtjxg0iqFt938=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YPNcY29esKTqD0nSSQ2UMkQZxajpWW7kBq/v1bo9xVe7PNATY95o27y2iJ8aWsJv2 kKIcqa+OgoHW3im2mqiDBNcga+fj4tY29ffBwMO+gEXguvy0dT6bM+8ML3nNLZ++Mk d26kCntUk2uH4B6QF6YEsvOwS8jVFe8HpHsVN0PQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Egolf , Keith Busch , Chaitanya Kulkarni , Christoph Hellwig , Sasha Levin Subject: [PATCH 5.18 216/231] nvme-pci: phison e16 has bogus namespace ids Date: Tue, 19 Jul 2022 13:55:01 +0200 Message-Id: <20220719114731.977198713@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220719114714.247441733@linuxfoundation.org> References: <20220719114714.247441733@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Keith Busch [ Upstream commit 73029c9b23cf1213e5f54c2b59efce08665199e7 ] Add the quirk. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049 Reported-by: Chris Egolf Signed-off-by: Keith Busch Reviewed-by: Chaitanya Kulkarni Signed-off-by: Christoph Hellwig 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 fe829377c7c2..ab575fdd8015 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3432,7 +3432,8 @@ static const struct pci_device_id nvme_id_table[] = { NVME_QUIRK_DISABLE_WRITE_ZEROES| NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE(0x1987, 0x5016), /* Phison E16 */ - .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, }, + .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN | + NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(0x1b4b, 0x1092), /* Lexar 256 GB SSD */ .driver_data = NVME_QUIRK_NO_NS_DESC_LIST | NVME_QUIRK_IGNORE_DEV_SUBNQN, }, -- 2.35.1