Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2429856rdh; Sun, 29 Oct 2023 16:18:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEEVAI34JH7AKwCRzY/jFY02Iid/z5XIPSdwnC74Rv4ROQYLTgrbkBw9tAiMNKh36cUeol X-Received: by 2002:a05:6a20:7488:b0:16b:8132:b547 with SMTP id p8-20020a056a20748800b0016b8132b547mr7103308pzd.4.1698621507145; Sun, 29 Oct 2023 16:18:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698621507; cv=none; d=google.com; s=arc-20160816; b=UzBrT5UFewiiLp4bYN1Ip9PNGL+fUj77f/5Nl+hslEZf23gILu9S5m11xjVHFxffie 2Ivu7mzKYCuZ2IGrVK8Yz+bk0d3XoG0TZUTQkmoQEBPylu8mD4Ar12IDFl5KwwSw/mwq ZyO3Wq8pKHyDaG31KbHzGNov/JwFD8DAWHE1S6Y5xcSFT+DG3lRGCcXSSvqiUjptVVDM ubvPqIxg1rrp53W3SHr1DHlCO55jpuh4j7RBADBJxyHfekow+wu93mviBuPsw8tHPXUG ddtoJAbXcg0FtAKS6joK9QUSzYtmVZSeMUTVy4tPgyKQTK4aoj679p5qSZqvjjconnMy fsjA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XVRa/paZjY4JI6D5R2GtaW6ggxUs6/91ZTchEqwug8k=; fh=i8yr5LTi84tSDD3GogRu5aSjSSxbShq1PP6L4oNCKGw=; b=0DoSekUef2cocwaDRDoAeh934rIZ2b/PcyJFZEmHRnC7N8CmJFYxzv+NdJwN5+5aW5 tmgbtWMonek+DFb67X5f82jz8moSmdjyMfjXXCV7xYpgBePjXypibxZ/kiRne2qbVuqN cl7g81dpOYOj6wdnBGpKPvisCKByXBZtW1NFSvn0qSz7pmKPrKpQ1dQF5Riy93TPSK5y YvswZOAm7ZhYmjsSHCsMi/MyjdZE4yJa+iW/EaaHrdW2BvqQm+DJOx8v//I/F8Ns4vGD Z1E3ZT1G/dKBVPsawRjgOHzrqfVgsvIiOe356Qkbin0/t27PWwBo6MbUE/XQUkTyuBO4 4Zpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BaJ3XRfU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id k11-20020a17090a9d8b00b00280479459f7si1403741pjp.50.2023.10.29.16.18.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 16:18:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BaJ3XRfU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9B0D68083DEB; Sun, 29 Oct 2023 16:18:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231791AbjJ2XSO (ORCPT + 99 others); Sun, 29 Oct 2023 19:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231818AbjJ2XSE (ORCPT ); Sun, 29 Oct 2023 19:18:04 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE45919151; Sun, 29 Oct 2023 16:07:45 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5FE9C433AD; Sun, 29 Oct 2023 22:57:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698620222; bh=havvXX1A3BkDIs9BfHus35uF0tNKO/3fYel0i7hDJaM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BaJ3XRfUAJkLqqJ0kCDiR5yPykXIT7TvqrjAHWkSg7kVuX0eaqPEvDRTghJMzRrzx rxepF6NAU7qOMrRxYBS9nQ0Y0EpzCHJgffHvNoP+wbj/Q5tYgiymkOfBkRne4boVDZ Oky/crIfyKCdqVU38jTG91bai7vaZlZQUo5h64+kLGVx+3pFbvBc8jLO0tomvsoSnN q6PLCknKKavCDJ699Nx6KZy2LVnXTDHMEH/qcJg7y6OIqjC7kB9ptz4u3coyziTbq2 gk09M+a6lTA6DA1Plfd8MGo174YkoC9q+7bkC3zXa1GM7YN/bH1HND8UER4C8SBeaw jwXIOK0CGiQrQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Keith Busch , welsh@cassens.com, Sasha Levin , sagi@grimberg.me, linux-nvme@lists.infradead.org Subject: [PATCH AUTOSEL 6.5 49/52] nvme-pci: add BOGUS_NID for Intel 0a54 device Date: Sun, 29 Oct 2023 18:53:36 -0400 Message-ID: <20231029225441.789781-49-sashal@kernel.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231029225441.789781-1-sashal@kernel.org> References: <20231029225441.789781-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.5.9 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 29 Oct 2023 16:18:24 -0700 (PDT) From: Keith Busch [ Upstream commit 5c3f4066462a5f6cac04d3dd81c9f551fabbc6c7 ] These ones claim cmic and nmic capable, so need special consideration to ignore their duplicate identifiers. Link: https://bugzilla.kernel.org/show_bug.cgi?id=217981 Reported-by: welsh@cassens.com Signed-off-by: Keith Busch 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 347cb5daebc3c..3f0c9ee09a12b 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3329,7 +3329,8 @@ static const struct pci_device_id nvme_id_table[] = { { PCI_VDEVICE(INTEL, 0x0a54), /* Intel P4500/P4600 */ .driver_data = NVME_QUIRK_STRIPE_SIZE | NVME_QUIRK_DEALLOCATE_ZEROES | - NVME_QUIRK_IGNORE_DEV_SUBNQN, }, + NVME_QUIRK_IGNORE_DEV_SUBNQN | + NVME_QUIRK_BOGUS_NID, }, { PCI_VDEVICE(INTEL, 0x0a55), /* Dell Express Flash P4600 */ .driver_data = NVME_QUIRK_STRIPE_SIZE | NVME_QUIRK_DEALLOCATE_ZEROES, }, -- 2.42.0