From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AB27C43334 for ; Tue, 21 Jun 2022 20:57:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355314AbiFUU5S (ORCPT ); Tue, 21 Jun 2022 16:57:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355164AbiFUU4Y (ORCPT ); Tue, 21 Jun 2022 16:56:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 940883191A; Tue, 21 Jun 2022 13:50:32 -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 9C1BA61882; Tue, 21 Jun 2022 20:49:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68C1BC341C6; Tue, 21 Jun 2022 20:49:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655844594; bh=l2LU4Hwzs04L/tPSjqDhp//mMg4wc0YpboI8cag9lJU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d/cvhmbqANjMWKd9OE/CQV35rZSEh9azqL8ZSJs65q/mrMP6E47PXUSbMGT7eDa1G Fb8xZjkKmWZw0+IKnzSygUtvkvLypPW1nvFRmOELyLz+PCkCEsGcqQimUq5ayZQGDi PiWHjFevdMz+LTZAcZaY0G8AgA6m1BCXN+X3GSLWEoKU4eU0OMKgNVvAq4hk4XgOA0 nB69OiFQnmw90Ph+59yxDfzll6fQmYQjC4nTkeN7QcxI+lMYyKzU/hXCDa85MfjlOu Vjnlwu/9TLkCGmXTy6bcYvLiMYWvd+fkggjurcNooTUPtH0vlxmgflTj6+pPgrPGPJ m5G+7rOj9WfXg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Keith Busch , Christoph Hellwig , Sasha Levin , axboe@fb.com, sagi@grimberg.me, linux-nvme@lists.infradead.org Subject: [PATCH AUTOSEL 5.18 11/22] nvme-pci: sk hynix p31 has bogus namespace ids Date: Tue, 21 Jun 2022 16:49:17 -0400 Message-Id: <20220621204928.249907-11-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220621204928.249907-1-sashal@kernel.org> References: <20220621204928.249907-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Keith Busch [ Upstream commit c4f01a776b28378f4f61b53f8cb0e358f4fa3721 ] Add the quirk. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049 Signed-off-by: Keith Busch Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/host/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 6c862259b381..6f9672e92b9c 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3470,6 +3470,8 @@ static const struct pci_device_id nvme_id_table[] = { NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE(0x1c5c, 0x1504), /* SK Hynix PC400 */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, + { PCI_DEVICE(0x1c5c, 0x174a), /* SK Hynix P31 SSD */ + .driver_data = NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(0x15b7, 0x2001), /* Sandisk Skyhawk */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x1d97, 0x2263), /* SPCC */ -- 2.35.1