Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1260265ybt; Thu, 9 Jul 2020 02:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRIxxRSJ0uvcwhndKNBcrQsytVYH8c1noqMtsGZTXsTTC3+PsTYO2xKqchvAC8/rJV8sFG X-Received: by 2002:a17:906:1c4b:: with SMTP id l11mr54295427ejg.307.1594287610870; Thu, 09 Jul 2020 02:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594287610; cv=none; d=google.com; s=arc-20160816; b=GbaTncXZJUsyEwO+FBc8f14xdMAGsY6YSQidvleyeCBQ9RqhJMFFTkDjqKAzp2gSLL q8tTHXcp8INPZH1KlVHkDTKA5bT1I+7bzNjYxq6Zk8+CfVBKKjY6R4JlQfuUrCPcrTmj l8ZuYaVxG8E4MYchTenKQev87vulJrU1F6HCvOVrUmjIWllPGQaJhs/AxCUS1VGi/DUr A/nDzBhzkhZL2dc99tmLEED++XF5Pljf3K9Gnn4ch7CZTy4EJXn8Ts6xPjxxHhlhZOUm rK0wWkeSEZQg/QqW11ZWp6O4+hozLqx9QwkdvfDmu7bDGx4JdO/Hpnqt0vSCW82odPBE 3kPA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=D4hA4OkVVBff/TV4bJs/eHez6Zyork9HVPEBjc+CCoI=; b=0jzQSeTvlSOX0rQe7XCW1ByagzXSE5JqJBB/cRO4UcfohM8Fj9GvB1vJUFy1hkQHmW MZjGyaFO5XyOByizIJZAyMjgktY6by+BY0o4qa0zEDc1YR4Gg8uYNRsE9fKh82Ao9Z0S fBQJ0YtdBT0jC8T+cyq6Ehr2swszQqIreNC0vY/BsUCivXMiwavjOnoyC3Hfzp5FBz4n c9fnhFZWc//ZvVznJdRXeNYuE95a3DzlH+4soVXITYsxOf73jyjOhDuXyNBDKnl5gfT7 SkYbxsxOuqwAWrCHqLMhT/yE3QR6UsEqbHy32L/kmtBnMi2LIq/WP6ysat5FjVq7K5Ts eALQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lk3si1487715ejb.653.2020.07.09.02.39.47; Thu, 09 Jul 2020 02:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726315AbgGIJjd (ORCPT + 99 others); Thu, 9 Jul 2020 05:39:33 -0400 Received: from mga07.intel.com ([134.134.136.100]:32124 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726261AbgGIJjc (ORCPT ); Thu, 9 Jul 2020 05:39:32 -0400 IronPort-SDR: FRQBPIUQbBYqHnGi2xhlRCOw8AjWBG3k81KFebQ/RLaWlifM2O3y2VP/DEj524y/DwnQrjLEko dNfS9pgfA1xg== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="212882877" X-IronPort-AV: E=Sophos;i="5.75,331,1589266800"; d="scan'208";a="212882877" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2020 02:39:31 -0700 IronPort-SDR: G0DDcW5MkFbaqHHnb6bsxH2Lg7sOHpQA5T1pGyDFgvaBnFhlznBkmjPjfx42yK2l4ak7tqJynu cWl8pDDgqVeg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,331,1589266800"; d="scan'208";a="483735217" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.141]) by fmsmga006.fm.intel.com with ESMTP; 09 Jul 2020 02:39:29 -0700 Date: Thu, 9 Jul 2020 17:35:27 +0800 From: Xu Yilun To: "Wu, Hao" Cc: "mdf@kernel.org" , "linux-fpga@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "trix@redhat.com" , "lgoncalv@redhat.com" , Matthew Gerlach , "Weight, Russell H" Subject: Re: [PATCH] fpga: dfl: pci: add device id for Intel FPGA PAC N3000 Message-ID: <20200709093527.GA32541@yilunxu-OptiPlex-7050> References: <1594282705-32289-1-git-send-email-yilun.xu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 09, 2020 at 05:10:49PM +0800, Wu, Hao wrote: > > Subject: [PATCH] fpga: dfl: pci: add device id for Intel FPGA PAC N3000 > > > > Add PCIe Device ID for Intel FPGA PAC N3000. > > > > Signed-off-by: Wu Hao > > Signed-off-by: Xu Yilun > > Signed-off-by: Matthew Gerlach > > Signed-off-by: Russ Weight > > --- > > drivers/fpga/dfl-pci.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/fpga/dfl-pci.c b/drivers/fpga/dfl-pci.c > > index 73b5153..824aecf 100644 > > --- a/drivers/fpga/dfl-pci.c > > +++ b/drivers/fpga/dfl-pci.c > > @@ -64,6 +64,7 @@ static void cci_pci_free_irq(struct pci_dev *pcidev) > > #define PCIE_DEVICE_ID_PF_INT_5_X0xBCBD > > #define PCIE_DEVICE_ID_PF_INT_6_X0xBCC0 > > #define PCIE_DEVICE_ID_PF_DSC_1_X0x09C4 > > +#define PCIE_DEVICE_ID_PF_PAC_N30000x0B30 > > Should we drop _PF_ here? and also do you want _INTEL_ here? I think we could keep _PF_, also there is no need to support VF of pac n3000 in product now, but it does exist (ID: 0x0b31). And add _INTEL_ is good to me. Then how about this one: #define PCIE_DEVICE_ID_PF_INTEL_PAC_N3000 0x0B30 > > Thanks > Hao