Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp271555ybt; Thu, 9 Jul 2020 22:31:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwocWsr3R8MY1ssVmvieLoWltS4MdmHKHIpw4WKFpYMuvg+rLcWom7WJwCsPPp/bN/Np4Eu X-Received: by 2002:a17:907:42d0:: with SMTP id nz24mr63194017ejb.135.1594359107546; Thu, 09 Jul 2020 22:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594359107; cv=none; d=google.com; s=arc-20160816; b=PByxHcCFBu16JjiWayVqdJlEwrjN0FfADrRHeQ+EBrLIQ5K9737d4jxHXkpDTCPgWt kiXG2SI+Tl3gevteMfd4CgRN0uhl72s6O6g2+oe8YW5Vpk2uJngkYa1IqXjOEr23gGAX DqZdWWlP+WOoo5DRIDGWJ44eeov8oVaKYsGEe7Q52Uze0vfo7Ly4Uz/pbuLPmZ3Uwr0P oLJsJ9rK1qbYwH/cMMr+GON7lVU7rFfOWm7E2l/0itnDCLJDucVYmOi9FeeaAQ5y3dwC hJ0+8531oIgRxPC0xHo3ssRkuqk0zDqqfj/VU3qGOl69hwV+Y+9pnm/ljTX7MLYPFb5F jFRg== 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=D0rG1ZGolV/l2olXdVZ+8qexNAidn8w9xaCAwIrqdl8=; b=M0DPqd89zu8+DVMEJMDCbAxmNf+8yVBxbpKd19NUcAxtvnTZs0gT0InQeqKvSB5Sxz s/9p8kwl132R3wXwRb0m7P6x6ZUs88dsf4QxHiZwzkLJ7Cnag22ua1Xcoi+BJX09Fh0Z DXl24v/rIBlmsQ5f/WGA2aPQ32BLnzDDoN1XDBZmqqEIX7w5sKgNGm0CvYY0Za5XyrrD Gbpyq89qmLGvDUvLiAehxPzHrojfhzhJghrxVFMlLKTzmZS+Ncd6GXn+fRwAzjCf6jVm 3F1VVCorPDkcRpebGGQKZHkvrmVQjTebNL8hLKROlRmUgRIzh6oco4Yk/BSzfdR6xcGZ MRTg== 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 r26si3732666ejb.35.2020.07.09.22.31.25; Thu, 09 Jul 2020 22:31:47 -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 S1727107AbgGJF26 (ORCPT + 99 others); Fri, 10 Jul 2020 01:28:58 -0400 Received: from mga11.intel.com ([192.55.52.93]:28171 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727050AbgGJF2t (ORCPT ); Fri, 10 Jul 2020 01:28:49 -0400 IronPort-SDR: t2uhjyRIx2shCvXcguclmRuwGqvf2TNvh5ggvTdgAnGOOi4NUhIIICUs2GIexDQFx/8FpC4r53 QLJhyupS0cgg== X-IronPort-AV: E=McAfee;i="6000,8403,9677"; a="146225299" X-IronPort-AV: E=Sophos;i="5.75,334,1589266800"; d="scan'208";a="146225299" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2020 22:28:48 -0700 IronPort-SDR: GzE06fwv1iXqpMSDnrSYW3Rfn05uzXodKsmCbQ2Kpz7cVL5qipKYcSnwLctqVRMyqIJ1DUkjLZ if117iTlAliA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,334,1589266800"; d="scan'208";a="389378494" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.141]) by fmsmga001.fm.intel.com with ESMTP; 09 Jul 2020 22:28:46 -0700 Date: Fri, 10 Jul 2020 13:24:43 +0800 From: Xu Yilun To: Tom Rix Cc: "Wu, Hao" , "mdf@kernel.org" , "linux-fpga@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "lgoncalv@redhat.com" , Matthew Gerlach , "Weight, Russell H" Subject: Re: [PATCH] fpga: dfl: pci: add device id for Intel FPGA PAC N3000 Message-ID: <20200710052443.GB8689@yilunxu-OptiPlex-7050> References: <1594282705-32289-1-git-send-email-yilun.xu@intel.com> <20200709093527.GA32541@yilunxu-OptiPlex-7050> <2d7919d5-a320-58f4-5c9d-7ef868ad8676@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d7919d5-a320-58f4-5c9d-7ef868ad8676@redhat.com> 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 06:00:40AM -0700, Tom Rix wrote: > > On 7/9/20 3:14 AM, Wu, Hao wrote: > >> 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_N3000 0x0B30 > >>> 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). > > I was wondering about the vf id, thanks! > > >> > >> And add _INTEL_ is good to me. > >> > >> Then how about this one: > >> #define PCIE_DEVICE_ID_PF_INTEL_PAC_N3000 0x0B30 > > I am just considering the alignment with ids defined in include/linux/pci_ids.h > > So drop _PF_ before _INTEL_ would be better? : ) > > To be consistent, all the id's are intel and all could drop pf. That's good to me after checking the pci_ids.h. So we have: #define PCIE_DEVICE_ID_INTEL_PAC_N3000 0x0B30 > > Tom > > > > > Thanks > > Hao > >