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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA4A3C43334 for ; Tue, 21 Jun 2022 20:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OSNNEcXYGEEv64iqbE2N040PKPZpstO6Z4ssvuUwL7w=; b=xesMVO9vzdRDIBDhjkhSu2IcQX 8K+fzVFV6TfqM07PahurDoLdGa5G31nl4X63H2Be07uNSwXc1yxJBEPWbb01qUhL8C1oSqQ7KPpVN MpQDRZeb0n1WRG1WeLNYSRggRPiDftBPQNlc+E3J1eRrc/jX7YoqtWYkVnKcNKIDYdVw/THiBqhXS iePPsdzcTy4ANlSktIpTNkD+GKskKTaW4+2fOkAxOB7aPgUxlx8w6Th4vAg7G39vbGJagCvlpn4iJ nhPC1mAyc0itC+hwJCFaT0mra82J0fkzjOBuWyJc8fKlpldTMamsDpGEc2UoziIxnHuQZdBRSJ8kh COLGteKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3kqi-0077EZ-M2; Tue, 21 Jun 2022 20:51:48 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3kpO-0076QU-H3 for linux-nvme@lists.infradead.org; Tue, 21 Jun 2022 20:50:27 +0000 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 12384618AC; Tue, 21 Jun 2022 20:50:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3ECBC3411C; Tue, 21 Jun 2022 20:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655844625; bh=paxpvcB8ZV0p/oEqjpBooNem9P/pMGnl9AARmOCFspQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m5WHiSOr/GQM3lz4zewuJ5eD5yw1rwidKy6SzuejpuoMxkpSI2l6rD5tfdhinXhoa o+bspoN3+ww+vn1RBjAdd+bFEhw8gAxYa0fnJBhN4cXK/zFSvchHZr+x0kTA5+z7Jq /lX2zm7gwmSh0dmRyK4SJW9J56RBQA1tREYpnM4p/Wd1N3+xWDlW7I+3dUnipf6mq/ TSR4kbErRVhr25k3FISiiJT3M+PXvPdMluZVk4U/HRVCX4bdHx4wvomJKtkZDcE2b3 2+2x2enzNsm+KRtVDbP0V1BLnTDgUt2KxVo726DcqEHUDUJFBNpi59YTGgYxpldMWv E+UY9esDpVjRw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Stefan Reiter , Chaitanya Kulkarni , Christoph Hellwig , Sasha Levin , kbusch@kernel.org, axboe@fb.com, sagi@grimberg.me, linux-nvme@lists.infradead.org Subject: [PATCH AUTOSEL 5.17 07/20] nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S50 Date: Tue, 21 Jun 2022 16:49:57 -0400 Message-Id: <20220621205010.250185-7-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220621205010.250185-1-sashal@kernel.org> References: <20220621205010.250185-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220621_135026_687888_401D36A7 X-CRM114-Status: GOOD ( 12.56 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org From: Stefan Reiter [ Upstream commit 3765fad508964f433ac111c127d6bedd19bdfa04 ] ADATA XPG GAMMIX S50 drives report bogus eui64 values that appear to be the same across drives in one system. Quirk them out so they are not marked as "non globally unique" duplicates. Signed-off-by: Stefan Reiter Reviewed-by: Chaitanya Kulkarni 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 f2d8d939cc2f..608394a5cf00 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3459,6 +3459,8 @@ static const struct pci_device_id nvme_id_table[] = { .driver_data = NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(0x1e4B, 0x1202), /* MAXIO MAP1202 */ .driver_data = NVME_QUIRK_BOGUS_NID, }, + { PCI_DEVICE(0x1cc1, 0x5350), /* ADATA XPG GAMMIX S50 */ + .driver_data = NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061), .driver_data = NVME_QUIRK_DMA_ADDRESS_BITS_48, }, { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0065), -- 2.35.1