Received: by 10.192.165.156 with SMTP id m28csp414179imm; Mon, 16 Apr 2018 02:21:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Ve0lTeI6ZN+7x1Ogz6GfDTo2ZZqyKuEStTMNbAmhcDH26D+LgdbRYpUNbKZCN7zkmf51g X-Received: by 10.98.31.20 with SMTP id f20mr4929739pff.196.1523870495574; Mon, 16 Apr 2018 02:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523870495; cv=none; d=google.com; s=arc-20160816; b=RUOBENLPgRh++AYnnK9MGRM7skDTdlm9j2irCiDDOEd+uFITqp2r5K+iMQOZNhsKTw iPNJwP0RNDLkk80kRavQKUCp0y6mxTpO42wndt8nx5jtniqTNLfHI0JFy0+eMby+RD8l Tn9DJYc+c8aQW5E+FFqx0SuxtKpzx5y4fMpNcn/erSVIoibpm+swm63x+8DLpFU1glxN 3wNrkaOBYBVRuKA9aZuFjRnr1qdT6m2waRiQcDbrVT9dir7BtkG4FbnOFehz0V1AaoHM Gk+3bwFxb9ppNX4D8/TQ4+Ocqr4qzOcdltH1vl+TsBCmFVIp1mGzVkDiIcIWXEg7UlA6 2t7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=6YrRhiqrWDFM+KgEJjug4j67PmRXNzU1oM2BIXIsu1k=; b=0GXJR6drZaLju8B/2n099OvX/Wh4VkfQN7lBCEi/hTQuZh0jf6IBMlPsFOLKO7ZWYo LfAQ/jZTRHYryEpr+6t/D2UKbysUSOE4VCi9g6a51qrWFPBvbktfxeVXE8SzzCJC6zr+ WwKVbLHjYoemU8IbhmRA4h8tQwm40iONUTrsomZkwEsduBSpUCWwMYwQflZeBR13xskL qOhrqmPMKCP+9pgx+Y/Kq93p6FMiqvQKvD4DsXnxtlUERYzYISYP2sZn12+5yiCe1IEC u7D9FkJCabLQuQ5HIseqYXQq5TSfPrjiM+fn9cSCwUljPTM8x9yQCRR1A1N25V7j+ZsE Tl+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cnexlabs.onmicrosoft.com header.s=selector1-cnexlabs-com header.b=C0LQQEux; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si1669808pgc.182.2018.04.16.02.21.21; Mon, 16 Apr 2018 02:21:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cnexlabs.onmicrosoft.com header.s=selector1-cnexlabs-com header.b=C0LQQEux; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753089AbeDPJTs (ORCPT + 99 others); Mon, 16 Apr 2018 05:19:48 -0400 Received: from mail-sn1nam01on0070.outbound.protection.outlook.com ([104.47.32.70]:39859 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752934AbeDPJTq (ORCPT ); Mon, 16 Apr 2018 05:19:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cnexlabs.onmicrosoft.com; s=selector1-cnexlabs-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6YrRhiqrWDFM+KgEJjug4j67PmRXNzU1oM2BIXIsu1k=; b=C0LQQEuxto+8kLAMMj7S1yqapZPeFCAeCweASMgjNIDZnOCzwEtxHR39Ee1pRWQVW1sIpNpNp7MzFjuAQmnwNx4EBUDAEzZN0d6UzABAQov5gHmahxO1qtMdnB6vb4TqzyTXTB1xsKhhNZ8uU7Fg8KQaW6obJM1LWVMS5GzWoKk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=wxu@cnexlabs.com; Received: from dojo.cnexlabs.com (115.238.84.139) by BN6PR06MB3491.namprd06.prod.outlook.com (2603:10b6:404:11a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.10; Mon, 16 Apr 2018 09:19:43 +0000 From: Wei Xu To: mb@lightnvm.io Cc: javier@cnexlabs.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Wei Xu Subject: [PATCH] lightnvm: pblk: add CNEX Granby to the pblk device list Date: Mon, 16 Apr 2018 17:19:17 +0800 Message-Id: <1523870357-2118-1-git-send-email-wxu@cnexlabs.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originating-IP: [115.238.84.139] X-ClientProxiedBy: HK2P15301CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::29) To BN6PR06MB3491.namprd06.prod.outlook.com (2603:10b6:404:11a::16) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BN6PR06MB3491; X-Microsoft-Exchange-Diagnostics: 1;BN6PR06MB3491;3:BSIrlLd0WF+w3NmKzNsFUEygCWGdRjwok2Zh+RbEnlpAwKiBjXw4EYM/jZ4VBUZWNEpp9/clh5TVXmiu9I3s5P1nNI9NvEK55PD6FUTzxSfFBRihk3fBOL65rqsOt1RAGLfRFNL3/Hd6b4xfdBJAi9F6nyQ+z7Sd25+uIohaPNubhZAlH7jqziUg0Y3Pp3eoYAXUFozF03kw76kEde7sI7gA5jg9d+J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uOk6hH/uRYk5lUqUICrdLCiEy1Sel/X87cJejf2Kgh/6QGyrIqeoVMWIVDrjkDSGSKn1lwV5LCMpp0Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231232)(944501327)(52105095)(93006095)(93001095)(3002001)(10201501046)(6041310)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011);SRVR:BN6PR06MB3491;BCL:0;PCL:0;RULEID:;SRVR:BN6PR06MB3491; X-Forefront-PRVS: 0644578634 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(376002)(39830400003)(366004)(346002)(39380400002)(199004)(189003)(316002)(6116002)(3846002)(7696005)(52116002)(68736007)(5660300001)(25786009)(86362001)(16526019)(186003)(23676004)(956004)(386003)(36756003)(59450400001)(1857600001)(486006)(476003)(2616005)(81156014)(81166006)(50466002)(53936002)(8676002)(107886003)(2870700001)(4326008)(2906002)(50226002)(8936002)(26005)(69596002)(97736004)(6486002)(305945005)(66066001)(47776003)(2361001)(6666003)(2351001)(6916009)(53416004)(478600001)(105586002)(7736002)(106356001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR06MB3491;H:dojo.cnexlabs.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: cnexlabs.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjA2TUIzNDkxOzIzOklZamRrWXhpdXVhUlZDR25zeGNJOHlJVDh2?= =?utf-8?B?cC9TOHl3aGw5WUZYamZtRW9XUXhEU0pYZ1NVQ2p6TUpBWXlvWkt2Q2dWU3JK?= =?utf-8?B?UmdXS3VVb1ZJU1l5T1FOcERsS0RiZGYzUnlEZlNlSUdzM3JQNytrM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-MS-Office365-Filtering-Correlation-Id: fceebba0-6501-4855-5ff3-08d5a37b3155 X-OriginatorOrg: cnexlabs.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2018 09:19:43.0370 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fceebba0-6501-4855-5ff3-08d5a37b3155 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e40dfc2e-c6c1-463a-a598-38602b2c3cff X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR06MB3491 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a new lightnvm quirk to identify CNEX’s Granby controller. Signed-off-by: Wei Xu --- 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 cb73bc8..9419e88 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -2529,6 +2529,8 @@ static const struct pci_device_id nvme_id_table[] = { .driver_data = NVME_QUIRK_LIGHTNVM, }, { PCI_DEVICE(0x1d1d, 0x2807), /* CNEX WL */ .driver_data = NVME_QUIRK_LIGHTNVM, }, + { PCI_DEVICE(0x1d1d, 0x2601), /* CNEX Granby */ + .driver_data = NVME_QUIRK_LIGHTNVM, }, { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) }, { PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) }, { PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2003) }, -- 2.7.4