Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4430540imw; Tue, 19 Jul 2022 06:32:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vJXz+v/xa9x4YdxRrfbdiC0gACcuVsRU7OtuKIu85Swyc2PTsJ3p5jXBtUl7Rjah+toNU4 X-Received: by 2002:a05:6402:950:b0:43a:5194:174c with SMTP id h16-20020a056402095000b0043a5194174cmr44123589edz.145.1658237558751; Tue, 19 Jul 2022 06:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658237558; cv=none; d=google.com; s=arc-20160816; b=gIMRH4cBkox2Lzsq3aBjZiYGcQjOrixB6EINgg3zDmj0d4VMNxMP5gz9nZWxDUnSsK 3O0rbl5u+uauEMgqMpoVR4VmUCSS67KVCgCAg1ACbYd+mGNhXuGZqu51kOu7zkU+rvt8 7uCV9yuxxf8wlq8nopHmZ7MK+gfi+3QwY0k1CU0Nq0j07hOwMBCZ7JDwaH49SlfwUv2a +j4d8ogGVDlll0f/N4V813hp+/ixcX6Fnu8CjIQIeS3cLSY3xxYHfPwPIEIhsRJMfeLE uWtr37rj50kKuiLpoNgAbwxToxjCl5vHhqssNfkfd2TgCttaPKGme1wZIHHo6LABnwKc X7LA== 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=icc4E/psgxjaMWDBCyGZhL2za+Gwh3VwVzaufvUg5PY=; b=HRxw0X+5VVaPf/WysxdiNilj0pCT4bI9gr/I91wGhRgDrPURUenE7ypZb/ILNZgFtz YA7CST9nYmeVnGx0p2peVP0b7x9UylGK5uOgNhqiHSVves0OhYubiPdCG5uJPhoEKN+L YdJZPz/oMIj1uke57fZFEnuLXlzEfe4CqexU4o9CmKTQIHmmOt5hUNarhCHjca1v38Rr 9flrau6BbXz3kyIvUwELxB6Dnqh6uxJemAAlrfGOEZXjMBFETivtTlN189vetujS1QuJ 3STol2rx/UF/qqXSi9o7iod+fPQltPu8WvXO01dwAOMnDCaA9P/WUG8Hg/jUibida7Vs 1Dtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Gg3yJsGN; 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 x10-20020a05640226ca00b0043a66b4e28fsi23366903edd.377.2022.07.19.06.32.14; Tue, 19 Jul 2022 06:32:38 -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=Gg3yJsGN; 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 S239650AbiGSM2I (ORCPT + 99 others); Tue, 19 Jul 2022 08:28:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239893AbiGSM1Z (ORCPT ); Tue, 19 Jul 2022 08:27:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C4F65019E; Tue, 19 Jul 2022 05:10:20 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 437126177D; Tue, 19 Jul 2022 12:10:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37AFCC341C6; Tue, 19 Jul 2022 12:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658232619; bh=LR5BiutOma/0B/U/EoBoNYPeDfUNWk7C5GzJ7/aCzNI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gg3yJsGN13Wm8afHrKFAu/IHsmzX7GcL2D0n/vZp9ijCAreRPs8rSkCDGy/f1sctV U4xP6RMXhgCQ+sQCih5bSPDqaoocxPnlrB7/UGWXjR1LTVkRd2a8RfiuULsPgXcThI l73KvvT5xVlf0XzQDj9EqbC6eAQ1QqPjm2TSMRSA= 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.10 101/112] nvme-pci: phison e16 has bogus namespace ids Date: Tue, 19 Jul 2022 13:54:34 +0200 Message-Id: <20220719114636.638270322@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220719114626.156073229@linuxfoundation.org> References: <20220719114626.156073229@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 3622c5c9515f..ce129655ef0a 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3234,7 +3234,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