Received: by 10.192.165.156 with SMTP id m28csp560079imm; Tue, 17 Apr 2018 15:17:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Xe6UqMIsNviMLdMAzzymOcmTfORIVDsdUs7b6+2tHwiCQd+GEJ1c3fF5UE0rKelz5lT4S X-Received: by 10.98.107.138 with SMTP id g132mr3455111pfc.163.1524003427723; Tue, 17 Apr 2018 15:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524003427; cv=none; d=google.com; s=arc-20160816; b=Tbk0mDkXTy3kv4mdKhMCcjNYH82LzrT8lmagEywQYFVAiV8xP0cIliYzMATzgHQ8/M 0AdznNWZAg5tdujuwLdUL3N810L33Wb2lH8iQCvVymHyPcc5jlOKH+a8f1z+DaL0uQZa JGDvlp9ZRZ/8o0Tad+cUUREmlhNxDEHHMzdvF5Z9Z5dM+oaE02fUdwtRT6Ch40qWMSXV 8Q2dZ46VntpUmeb+9MAhXjq/K6vuUg4odun9zuWUs84eNIbo7uWGnCgq8dihHLJVLXk+ YBm2JdqSSasPamRib6RAAs2tDNh66+ga1azzEnAbvvaGY5jsLA0sHQwqNZc+SpSlJZ3C UmPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=O15uw2Pxim35z65lI9WwZK7zlw4Ua99T88qXO5gYFZQ=; b=e4sQiZwzjVYFFlEUOsgORcVsfpO1pNdTQC6HJicYsSZX74yavxShS8gB8KI9/xpUpn r6bY6EUEnp+gspGXeGgTwj0iFMz5UbUdffcUmQcaKjHNohberfVyqOy8/saQ9woUWDy6 TswBi6+lcKLWFdMDsePOWO7UngcW1I5IJqZ+NbhV6xaGqGG0o0ak824pPgJoIya3JuJg PAw5gmWhZ+1EKAXSR9/JcWB/L/PglkyFXwJ97kjRwRHamx7lOyQOOH7XFSCRTLjscBav KS9KER2+8NC5MKTQu4hNGjxnaPqOVpWAzx3kbakZf8xATKZrMNX55OOGyCwuaAP3+5kO ZStA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=jMWRMpQx; 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 bh10-v6si12103297plb.322.2018.04.17.15.16.53; Tue, 17 Apr 2018 15:17:07 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=jMWRMpQx; 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 S1752314AbeDQWPn (ORCPT + 99 others); Tue, 17 Apr 2018 18:15:43 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:32978 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbeDQWPm (ORCPT ); Tue, 17 Apr 2018 18:15:42 -0400 Received: by mail-pg0-f67.google.com with SMTP id i194so6041864pgd.0 for ; Tue, 17 Apr 2018 15:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=O15uw2Pxim35z65lI9WwZK7zlw4Ua99T88qXO5gYFZQ=; b=jMWRMpQx/MYofnkDNuewbxm+FXNhWV9ygWAJDLuiS+6uHRHFEux5Nr3umNuReDXkZp 8XgZFX3gfxn2wishe9BWaFOsRlm9AHHYQ/Pe40+najQINfxmSH2eiJiYziu0jRdd88+q gN2eCRfSLTuiSLg9L1gCwAP2I63SO30R7sb8znVLkhvjbEp6bkoayn3x4My/6JzZ3cc9 Bg6pODIr16E/FsU3JVI6xxWsfJtU8C2Hf6lEAm9DqrQ0rc/D0rg2jD8EDQy6E0aR5+hO G3scDN1uE3ulP/XvCv226fL9gSNO4BAYWnK8cufAeOkJRXHwHYh5YYo6DHP5cOktLx50 qfng== 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-language :content-transfer-encoding; bh=O15uw2Pxim35z65lI9WwZK7zlw4Ua99T88qXO5gYFZQ=; b=jEFPR1OJzGTgQVPzYclRXV5wwV1dlufGyUj5n8bBwN1JH2GPTu0AYklovW/6CkW9vw epSUsi+ov+P6VZNXb7wSFrhOnGKs4cX/ppAo2fvcW3ayZ5HPTOLCwfHudBNS+OoA7p53 2EC07G2mhLn3dG10hSofmxk32XIFZZbqLd9o7LjRGfIw9xQ2ur/NpvVFR0ezA4IbSW9h DxGkY/AzQ+jTB5aRr1eL8HW+Z80Gcr53LS/XyEf/uGoOMaKDIHtDFmOG1pAsa+Xy+UU4 yJFyDMbXhcQ2Z6ZR/otOX32hUkhd5e45vzn6B/j4errNdVcbNmuU+TGuWfx7oSNGbw79 usNw== X-Gm-Message-State: ALQs6tAzUxt66lYwSwNiOeNepdF70Su0QTbDI+1cBdvwcqhGamRxkWU4 UbSuORVtuetIfRjSZbVKW9ORzGIEGYM= X-Received: by 10.99.127.89 with SMTP id p25mr3172398pgn.440.1524003341067; Tue, 17 Apr 2018 15:15:41 -0700 (PDT) Received: from ?IPv6:2620:10d:c081:1130::10de? ([2620:10d:c090:180::1:b264]) by smtp.gmail.com with ESMTPSA id b17sm26458692pgu.63.2018.04.17.15.15.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 15:15:40 -0700 (PDT) Subject: Re: [PATCH] nvme: lightnvm: add granby support To: Keith Busch , =?UTF-8?Q?Matias_Bj=c3=b8rling?= Cc: Wei Xu , linux-nvme@lists.infradead.org, javier@cnexlabs.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <1523930112-7402-1-git-send-email-wxu@cnexlabs.com> <6e50972d-f806-52ac-7983-2642bd211afa@lightnvm.io> <20180417220901.GG11513@localhost.localdomain> From: Jens Axboe Message-ID: <6701f433-e865-5a17-f1c7-4c0e0c5effaa@kernel.dk> Date: Tue, 17 Apr 2018 16:15:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180417220901.GG11513@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/17/18 4:09 PM, Keith Busch wrote: > 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. It should wait for the next release, it's not a fix. -- Jens Axboe