Received: by 10.192.165.156 with SMTP id m28csp975506imm; Mon, 16 Apr 2018 11:49:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/IgaVqghHq/y34/AVwEKC6eHwy4COyBnZejdVmv4M0UH45Q4utTMJ9KJNpNDsI4fmYVkSV X-Received: by 10.99.7.86 with SMTP id 83mr5866556pgh.211.1523904551172; Mon, 16 Apr 2018 11:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523904551; cv=none; d=google.com; s=arc-20160816; b=ou0bhumjhSwu+y25cBZAEyewGEAiJZ1mxEUa6ohKn0TEbQuMW/DxoTV3e+IL4j525i ddzcySNrh+3XzBLIXK7ph0aA17ghEUJerok8f/6v0wvNCb4CTnwnUQIZ7r7hs3Tje907 cpmAsf3AbUdotPJyEQhnbInDPKbwVKlmZmYkyI/iX7SkFYL9sDHMy8FP0boo+nien1zm 7+Y1Wn+S/GKVRLs/yyl283h2AeWHLKbz0uYh9NykOHRWQCneZHbEgM6j2VSYYiBtl+Fp CAdP+b1PLKfEVSyhkxEMsf2V/KHrT3GEgnQPPcKTLjQd5SUPqCwbRBgf1hFF6VhYPb8K Ln2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=V7ZXwM/dokJiG9HcgRzrnUKMnnlWh8By0MHoY3mfE4Y=; b=DWB28rfQ7NGyNTpkxm4g7VQX+FJsokOxuiHONGCXPU3M3B92lplc5eDxajO9YE4iAr otfKTkJMeSA9MquD/8PjWWvcVtvKe06VOnuqQ8OcmahhVKVXUlAwOSvgV0UsUfx0gZZm 0ei85OoU6hFbI9WbLTCqns7sb1MkIK/si8GytEYaHS79EWduiu4jQ2HvgkYAM3a3tLbF HOo1M5ExwWju6t31k+4J/nBQBjYuaU3VGaAM66fR5XdnkInlsaMvD5Y5YX4L93PLkdNg drF6bBtKc9I8ishy+ltQPGX1s78WfBKWCG6vPrJs36qZx6FKb8ZN88sbjTX3msZtk8aT Gj9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=lfczxR6g; 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 b34-v6si12618546pld.249.2018.04.16.11.48.55; Mon, 16 Apr 2018 11:49:11 -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=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=lfczxR6g; 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 S1753281AbeDPSrc (ORCPT + 99 others); Mon, 16 Apr 2018 14:47:32 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:46163 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088AbeDPSra (ORCPT ); Mon, 16 Apr 2018 14:47:30 -0400 Received: by mail-lf0-f67.google.com with SMTP id j68-v6so23604051lfg.13 for ; Mon, 16 Apr 2018 11:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=V7ZXwM/dokJiG9HcgRzrnUKMnnlWh8By0MHoY3mfE4Y=; b=lfczxR6gpgJjNU1WGlfvOf5b7ZJRR3c2x4EhLrlCnA74f/Vzd8hSOshcXAYT46bx5C cmJ6efOPB2GK54t69szGvhg3UdcIigG6Sz7fDp0VEeVvzqdiMnQyaQ6GgCVdk3NI6C+K Oi1QKZand12yRTDm/qpk0+/nAWTqGYdu1dnM3o6I2YYyEZt6iR0Bone8i1o5j4AJ8DM+ 0OIv/2SfdMR/jk7wk72+wtWgh4YbXQguYbfkwV7DB6UnkWWJplCx1/2JI3OO7k5B3jQW Ni4iai7zuZjrUcAk/To/lgpniG5fPbjhFECKtlaUNcp7xSK2aI1ahBN6SC9nBV8+0MLU 1BrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=V7ZXwM/dokJiG9HcgRzrnUKMnnlWh8By0MHoY3mfE4Y=; b=RlWeYjrw0y3DkmBXXdLFadtQUoWKbwYGY36ni7I3mAefvjc2DTWzCfFEpRKIukhIv4 jyropY0CA61PaowJdImmC9AF4Enyg4ksY0wbp9NOiyzQSlRA3I+7cLIiVVQ0AEDVeJeT QJSemYz8ykKNCqZMDpVCqriV+HJwWqAiEgsebaHA2b93l5e1rgkAGOFowfZqojrARloD 0IAnyEd5aOg+ff+fKcP6k5o9YAynLr0ewmoMzwoKJCBGJa8721A+D/J1DIRVw/WPmINK 2U30TLYI1vWoOslNZvIx3zxB/oY69/jlu/1ybqFzD0sAE+r8d8ICeg0YcfEQfI/aLTtb oY9w== X-Gm-Message-State: ALQs6tBiHUABYdE5izfUkIZ9p5hyOtJHgMfX3WhoKLNOm5wHBUOCtBD0 JnozSpSHk+MDm08Nbsnj+sEf5vv01dA= X-Received: by 2002:a19:e48a:: with SMTP id x10-v6mr5142810lfi.115.1523904448831; Mon, 16 Apr 2018 11:47:28 -0700 (PDT) Received: from C02VV2HXHV2Q.local (x1-6-a4-08-f5-18-3c-3a.cpe.webspeed.dk. [188.176.29.198]) by smtp.gmail.com with ESMTPSA id l1sm2275132ljj.30.2018.04.16.11.47.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 11:47:27 -0700 (PDT) Subject: Re: [PATCH] lightnvm: pblk: add CNEX Granby to the pblk device list To: Wei Xu Cc: javier@cnexlabs.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <1523870357-2118-1-git-send-email-wxu@cnexlabs.com> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: Date: Mon, 16 Apr 2018 20:47:26 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1523870357-2118-1-git-send-email-wxu@cnexlabs.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/16/18 11:19 AM, Wei Xu wrote: > 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) }, Hi Wei, The patch looks good, but the title is not description of the change. Could the title be changed to "nvme: lightnvm: add granby support". Also, please send it to the nvme mailing list and CC Keith Busch. It is a pure NVMe device driver change, and can go directly up through the NVMe maintainers. I'll add a Reviewed-by: when you've sent it. -Matias