Received: by 10.192.165.156 with SMTP id m28csp553977imm; Tue, 17 Apr 2018 15:09:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx48o28zF70rU2khVxNYPE5dYtCU/H1EMjpBvImg/8yv9bgoKyF34W85R0UxjijmXuwdaGOZq X-Received: by 2002:a17:902:205:: with SMTP id 5-v6mr3509861plc.301.1524002985142; Tue, 17 Apr 2018 15:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524002985; cv=none; d=google.com; s=arc-20160816; b=EsgN32eONisCgmDgKVZ7ooYhvjDI57e7CZ/e4Rxth6MVdkEvEZe6Ue10btoM469G4l oxMSNQpZASXKzwHp3Ll0PIU2GC8ie6gDZOJtW0jd1EWZRgjagkIBpvUFI5y6ECH32OOv nlNFO79zXdFayhRZQrb0oPRwyxL4MO/IyLkAlqg8Gua5PBxUztsGW0jrOdE6SkxTOyq5 fA3rQo6hTBDvu3vpKgMi5eLZao22J9EdkICWk67kYxsXDl0KpLKW3gthhGZfz/eLV80z 6WBAV/p/anO/EhEuiFD+UcSORu/cATNMWRJxl5v200/Dvz7foMB2WV48he9tx9DpFx0K Q7zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=VJOInx3jAY5aIkKdn0Dj3DWwbIyqXbFLk1t7bKItD4Q=; b=l0QroTOJiCFqKKLxGGZ49oor89rKZ6rrsmXPmRqF4IfLWYgijvf4LorFOPOj/zWSEX gU7Xiss3pvA0P4Oli2VLAZz9USTivjHi9ePKLYAxKooI9V8/nQjpiZ7JIcmgrC8vLFnY 3n8/+j1YskbDpBfJG6mENHBeifQLpVrZHDJLrGOb+AZhshSpJyk1LiNCweMd3VMqIO6d ENF4dxOdcDmKucbc+aKk4TN851U6TzGw04oVVYPK9VfY3MHN28G2ZPQGvJCkyzzp/oVN MaE8A84Nm877Jt58r1lAvmsBQAT4dF4Kh9PAtbTk+BoEvF38Rw9qqd3pWL+5ZiRIO+gS hStw== ARC-Authentication-Results: i=1; mx.google.com; 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 z5si12194896pgu.377.2018.04.17.15.09.30; Tue, 17 Apr 2018 15:09:45 -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; 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 S1751980AbeDQWIA (ORCPT + 99 others); Tue, 17 Apr 2018 18:08:00 -0400 Received: from mga05.intel.com ([192.55.52.43]:35235 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750811AbeDQWH7 (ORCPT ); Tue, 17 Apr 2018 18:07:59 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 15:07:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,464,1517904000"; d="scan'208";a="34143767" Received: from unknown (HELO localhost.localdomain) ([10.232.112.44]) by orsmga007.jf.intel.com with ESMTP; 17 Apr 2018 15:07:57 -0700 Date: Tue, 17 Apr 2018 16:09:01 -0600 From: Keith Busch To: Matias =?iso-8859-1?Q?Bj=F8rling?= Cc: Wei Xu , linux-nvme@lists.infradead.org, javier@cnexlabs.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvme: lightnvm: add granby support Message-ID: <20180417220901.GG11513@localhost.localdomain> References: <1523930112-7402-1-git-send-email-wxu@cnexlabs.com> <6e50972d-f806-52ac-7983-2642bd211afa@lightnvm.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6e50972d-f806-52ac-7983-2642bd211afa@lightnvm.io> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 17, 2018 at 08:16:25AM +0200, Matias Bjørling wrote: > On 4/17/18 3:55 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) }, > > > > Looks good to me. > > Reviewed-by: Matias Bjørling > > Keith, when convenient can you pick this up for 4.18? This looks safe for 4.17-rc2, no? Unless you want to wait for the next release.