Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4709649imw; Tue, 12 Jul 2022 12:48:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tpyTOPR5lJ1LIk5xjLrdITkVEZ5p7tnQtuBCURkZmP1hljcckdbdBTCeh9ZzKlGhm57vSa X-Received: by 2002:a17:907:2c75:b0:72b:3431:2a0a with SMTP id ib21-20020a1709072c7500b0072b34312a0amr20682556ejc.234.1657655338986; Tue, 12 Jul 2022 12:48:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657655338; cv=none; d=google.com; s=arc-20160816; b=pk8w3ZI5YspsRS5B/3xJtDAhFxhrk5nc8FMcJd7dUIqPtHHPDXD+4dfHsX9ISYDXl7 Zyg1z5fB5sRUenxFjxiCB/fJ6RbkbddobdwXNsxBx7MKMt/PMRMFgW7X5mI7nA2W66jr eZJuS4vxa5yMONpmmoNd9tKReyfoRoZaZfuVhe6rUf5uDJKVLfPqLH13n49KolA0oFXb nfbfa1K7ynwL13w7gCVzXuaxBO7qoiyoSwj9mVgbrUu/99pW/B8ESbIXV1GjLtqyX72H aVBtQCyCD+mVdViB+OSq1NHmMN94kax2ds7KKP+xCOqP3gIzCo8IkesRUREEGD3SgZaQ 92Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=JTShK/dHj1lhkOKMAdbUHzKCEaQogtvoUKje+YOBmOo=; b=UhQH3tZmYiD2TI4IP6vrrcZzgTQItTHszHPlzJvaIsnq4SBYiIdVrkpcNpjNhSuACX H2X1+EQmdTIg/QVg5Sp10F57/YfGZ6NIIZvoqXFEgSnQNR1aP2HeBM1RxVcwwK4eqciW loa31ymE/trCuZRSrSHs7iO35GIMl0WmtOAHjJ1LOUbHSJ1RsA83m0POOsz0hTwHMtCw szhuWO9ri15G5I1+8jDCqOP/bI+4Yl+eO3Dfsa+OHPZVDXUNyg6/vDa2E/x93+R9hDyB 9wc3ZkxtsENiTNpbIfi/mxArpsjxZ6zbQc0U0p28Hc4QbwJlZb7sIPAoScZno+2PIjbV 80zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YWDY+uiR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a056402270d00b0043ad1b75d28si11419107edd.84.2022.07.12.12.48.33; Tue, 12 Jul 2022 12:48:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YWDY+uiR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231462AbiGLTrD (ORCPT + 99 others); Tue, 12 Jul 2022 15:47:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235038AbiGLTqV (ORCPT ); Tue, 12 Jul 2022 15:46:21 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5129B9D96; Tue, 12 Jul 2022 12:37:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657654669; x=1689190669; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=WsyqKtSXlQhISKt9B4kKgJBG7bo1PNaIJP2Wls34YBY=; b=YWDY+uiRyi5v9/62iX9qPH/tkeF9OuLbYwLNK4Y8g/0GHtBe/YxyHgL6 NlWs5oJUQvZPsoUd7sKCmlIzTMiQX4xqMUhZU9ZOkf7N0CNco/EJ5wP0o CcjKTFXXrMyjFToWBpmKoR72OJ2xuEm+xl8CxygXkkkcwdWQrPvS4OmrG 5wsBSl22EKvkgZ4l7Itu3V0sc7w/VGD8SRnaC2BaU6FWOx7Gvb+NpNoCs 4/fw4Z6CCfMxOYjeWu9fHSg47uJxKKcglEd0A8cVGRV5/mjNAAlKuyxDU zLr0FsFuNSTZuSp0qz5TSRBs0Ipm4ohV8Igu7rGLOJIHbDSX6Es3kfZQZ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10406"; a="282579342" X-IronPort-AV: E=Sophos;i="5.92,266,1650956400"; d="scan'208";a="282579342" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2022 12:37:49 -0700 X-IronPort-AV: E=Sophos;i="5.92,266,1650956400"; d="scan'208";a="922336550" Received: from rhweight-wrk1.ra.intel.com ([137.102.106.43]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2022 12:37:48 -0700 Date: Tue, 12 Jul 2022 12:37:38 -0700 (PDT) From: matthew.gerlach@linux.intel.com X-X-Sender: mgerlach@rhweight-WRK1 To: Marco Pagani cc: basheer.ahmed.muddebihal@intel.com, corbet@lwn.net, hao.wu@intel.com, linux-doc@vger.kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, mdf@kernel.org, russell.h.weight@intel.com, tianfei.zhang@intel.com, trix@redhat.com, yilun.xu@intel.com Subject: Re: [PATCH v3 2/2] fpga: dfl-pci: Add IDs for Intel N6000, N6001 and C6100 cards In-Reply-To: <23a5d310-7d5e-a8ee-bd66-b80505e0553e@redhat.com> Message-ID: References: <20220707150549.265621-3-matthew.gerlach@linux.intel.com> <23a5d310-7d5e-a8ee-bd66-b80505e0553e@redhat.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75 autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Jul 2022, Marco Pagani wrote: > On 2022-07-07 17:05, matthew.gerlach@linux.intel.com wrote: >> From: Matthew Gerlach >> >> Add pci_dev_table entries supporting the Intel N6000, N6001 >> and C6100 cards to the dfl-pci driver. >> >> Signed-off-by: Matthew Gerlach >> Signed-off-by: Tianfei Zhang > > Tested-by: Marco Pagani Thanks for testing. Matthew > >> --- >> v3: added necessary subdevice ids >> removed 'drivers: ' from title >> >> v2: changed names from INTEL_OFS to INTEL_DFL >> --- >> drivers/fpga/dfl-pci.c | 19 +++++++++++++++++++ >> 1 file changed, 19 insertions(+) >> >> diff --git a/drivers/fpga/dfl-pci.c b/drivers/fpga/dfl-pci.c >> index fd1fa55c9113..94eabdf1d2f7 100644 >> --- a/drivers/fpga/dfl-pci.c >> +++ b/drivers/fpga/dfl-pci.c >> @@ -77,12 +77,19 @@ static void cci_pci_free_irq(struct pci_dev *pcidev) >> #define PCIE_DEVICE_ID_INTEL_PAC_D5005 0x0B2B >> #define PCIE_DEVICE_ID_SILICOM_PAC_N5010 0x1000 >> #define PCIE_DEVICE_ID_SILICOM_PAC_N5011 0x1001 >> +#define PCIE_DEVICE_ID_INTEL_DFL 0xbcce >> >> /* VF Device */ >> #define PCIE_DEVICE_ID_VF_INT_5_X 0xBCBF >> #define PCIE_DEVICE_ID_VF_INT_6_X 0xBCC1 >> #define PCIE_DEVICE_ID_VF_DSC_1_X 0x09C5 >> #define PCIE_DEVICE_ID_INTEL_PAC_D5005_VF 0x0B2C >> +#define PCIE_DEVICE_ID_INTEL_DFL_VF 0xbccf >> + >> +/* PCI Subdevice ID */ >> +#define PCIE_SUBDEVICE_ID_INTEL_N6000 0x1770 >> +#define PCIE_SUBDEVICE_ID_INTEL_N6001 0x1771 >> +#define PCIE_SUBDEVICE_ID_INTEL_C6100 0x17d4 >> >> static struct pci_device_id cci_pcie_id_tbl[] = { >> {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_PF_INT_5_X),}, >> @@ -96,6 +103,18 @@ static struct pci_device_id cci_pcie_id_tbl[] = { >> {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_D5005_VF),}, >> {PCI_DEVICE(PCI_VENDOR_ID_SILICOM_DENMARK, PCIE_DEVICE_ID_SILICOM_PAC_N5010),}, >> {PCI_DEVICE(PCI_VENDOR_ID_SILICOM_DENMARK, PCIE_DEVICE_ID_SILICOM_PAC_N5011),}, >> + {PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_DFL, >> + PCI_VENDOR_ID_INTEL, PCIE_SUBDEVICE_ID_INTEL_N6000),}, >> + {PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_DFL_VF, >> + PCI_VENDOR_ID_INTEL, PCIE_SUBDEVICE_ID_INTEL_N6000),}, >> + {PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_DFL, >> + PCI_VENDOR_ID_INTEL, PCIE_SUBDEVICE_ID_INTEL_N6001),}, >> + {PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_DFL_VF, >> + PCI_VENDOR_ID_INTEL, PCIE_SUBDEVICE_ID_INTEL_N6001),}, >> + {PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_DFL, >> + PCI_VENDOR_ID_INTEL, PCIE_SUBDEVICE_ID_INTEL_C6100),}, >> + {PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_DFL_VF, >> + PCI_VENDOR_ID_INTEL, PCIE_SUBDEVICE_ID_INTEL_C6100),}, >> {0,} >> }; >> MODULE_DEVICE_TABLE(pci, cci_pcie_id_tbl); > >