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 9FEC5C05027 for ; Fri, 10 Feb 2023 12:10:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232235AbjBJMKm (ORCPT ); Fri, 10 Feb 2023 07:10:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbjBJMKl (ORCPT ); Fri, 10 Feb 2023 07:10:41 -0500 Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C29B57772 for ; Fri, 10 Feb 2023 04:10:40 -0800 (PST) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PCsy73FyPz9sYQ; Fri, 10 Feb 2023 12:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676031039; bh=6JPco6U8iSAkwuGOqiY8HfT4kf3NaBNd/P7bZtdprsQ=; h=Date:From:Subject:To:From; b=Pn2/YQKgIyGTiXjFHqS/1ClyUr6Qkni4Qxb0b2Hi+ckpoQL5VSR9cFbAS9qG/XoXC qDaYuEpIJ6ysmh13kR1xUnfjFmHqX4X93ARXSaYDuGr2YbRGuUwAEwntuj9R2qcL7A 5rhkTVUpGc+SPkUtxJCNRgoVeZiUvNXaYtFeDTS4= X-Riseup-User-ID: 629FE788666A02C23042B53C62C487CE4F107B3C0BA0300546EC10E4CF8E72DB Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4PCsy56WT9z5vY4; Fri, 10 Feb 2023 12:10:37 +0000 (UTC) Message-ID: <87ff6272-2cfe-6b54-864e-71951118c43a@riseup.net> Date: Fri, 10 Feb 2023 15:10:36 +0300 MIME-Version: 1.0 From: Ivan Rubinov Subject: [PATCH] Add quirk for ADATA SX6000PNP To: kbusch@kernel.org, axboe@fb.com, hch@lst.de, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From 5a8f4f54c85ccb8e06b41b27bcaf19ec4f4d7c85 Mon Sep 17 00:00:00 2001 From: Ivan Rubinov Date: Fri, 10 Feb 2023 14:59:41 +0300 Subject: [PATCH] Add quirk for ADATA SX6000PNP Signed-off-by: Ivan Rubinov ---  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 c734934c407c..c63443d531b3 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3365,6 +3365,8 @@ static const struct pci_device_id nvme_id_table[] = {      { PCI_VDEVICE(INTEL, 0x0953),    /* Intel 750/P3500/P3600/P3700 */          .driver_data = NVME_QUIRK_STRIPE_SIZE |                  NVME_QUIRK_DEALLOCATE_ZEROES, }, +    { PCI_DEVICE(0x10ec, 0x5763),   /* ADATA SX6000PNP */ +        .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN | NVME_QUIRK_BOGUS_NID, },      { PCI_VDEVICE(INTEL, 0x0a53),    /* Intel P3520 */          .driver_data = NVME_QUIRK_STRIPE_SIZE |                  NVME_QUIRK_DEALLOCATE_ZEROES, }, -- 2.39.1