Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3907856iob; Mon, 2 May 2022 08:27:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYoL8M7Q593W/e4OjbUyh7bzX8wk+y0MtL0xzQEyJV3ibzdnsxV4oo+25wkd0unGgK5JI+ X-Received: by 2002:a17:902:e211:b0:15c:f342:2fe6 with SMTP id u17-20020a170902e21100b0015cf3422fe6mr12617951plb.18.1651505266275; Mon, 02 May 2022 08:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651505266; cv=none; d=google.com; s=arc-20160816; b=FIdfGGmUlJYEMrE8rHttJyECkNWZ62Zxq4q01PfOvHIjM0I1EptGQ7feKHEAVujFZQ MjeVMcH3noF/7nHDSmdIiqVhUJ3aQgVPwJEXNZcdPT65aUt1t1qPz3PYFkR1O81OzUXB PYC6Ud0VrHZqLnlBLPnI7L2YnnkGPEuNtfBM7YoLodW28+o50zArM/R3a3hgIfjdAqWo Zag1hZi6K/yhPoUzhK4cGkgIsiGrdMqX1s9n1Gb/mpv4D1PU9DW01IKHv+tNrxofzAyY 8nGqvXTO4UA3SAxZ7EHPnyrWjI/bc4YER+QSaOaxf7U/9KpbJdMuY2+8369o/Eqrhego o5Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XAaKGGQ9csQK35DN9XALhBskhXBhOGGpVYDXGXj+lKw=; b=aiKLhvviK7AevrM3nGz/N9sKUausU6TxpJTENet/PFbHayCNMR0/rneA6hOzwBDMVA Wj10wrA2GOa5muUi4Vj0ZsJ3RSo3MyciZT8+VkMf66DNvJbW2hFoKlQSAGMX97+dot6l Z2zRWoygdOE6G2/b5AM08jDy7hpiTTdlvotM3Uwal+X79UoMFIsV9U+gVl8HE9//XAJE c44RtjvVcCJgCkxjC4E+0SrnCqFA8GUnKwRfMXcQ2alxOmD5k0eocPFF3NpygbfXUBPz XLTARr1KCiuVTCXjitXBAO2CvNmSrSZt7zkn0tJQXC+JRm6ZQ+n80Y6F/hJmts1GaH14 KZVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aSft8bCe; 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 w5-20020a17090a780500b001c654567133si16489645pjk.186.2022.05.02.08.27.28; Mon, 02 May 2022 08:27:46 -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=aSft8bCe; 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 S240785AbiD3RKA (ORCPT + 99 others); Sat, 30 Apr 2022 13:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232692AbiD3RJ7 (ORCPT ); Sat, 30 Apr 2022 13:09:59 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C8CEDECF; Sat, 30 Apr 2022 10:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651338397; x=1682874397; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kWaJbEDwTB5MYk/WU1kKvJdUXbSDM/QPtOn9y3uU9Gs=; b=aSft8bCeXSOCZggP7kC0wXMbHZJFAjIwN+pYL9KVMVl3Iak2NVJTUMOx po0mWfty4BIo4HxrMiK24e+u5eWSUmvrRrcVScGuFjjSQri2Fsg2kY0bP hO3bes+r33jYgeWQbY9fZO8V3T9k1J22Q4CqAzoO2cYIK3HP4wbWXFQYb ye+EBiGX/hwaQ1tiRPO0B1wkj5geF3HRsKWXSMOB7cNfPAcVqyAPYfR6g lBedDTOX31Rdec2T/4uGDvY0ZY4x1j52GU7AWyBS9HDYX7NThjbxh4wft QARbiRL9j4fXQ2GhSyJPnYe6kBkDuTHIQMMYPuLjKpi8kDhBnhocurhjN A==; X-IronPort-AV: E=McAfee;i="6400,9594,10333"; a="267066095" X-IronPort-AV: E=Sophos;i="5.91,188,1647327600"; d="scan'208";a="267066095" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2022 10:06:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,188,1647327600"; d="scan'208";a="732663760" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.135]) by orsmga005.jf.intel.com with ESMTP; 30 Apr 2022 10:06:34 -0700 Date: Sun, 1 May 2022 00:58:47 +0800 From: Xu Yilun To: Tom Rix Cc: Tianfei Zhang , hao.wu@intel.com, mdf@kernel.org, linux-fpga@vger.kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Matthew Gerlach Subject: Re: [PATCH v3] uio: dfl: add HSSI subsystem feature id Message-ID: <20220430165847.GD398931@yilunxu-OptiPlex-7050> References: <20220429005726.607804-1-tianfei.zhang@intel.com> <20220430142452.GB398931@yilunxu-OptiPlex-7050> <774dee52-7f68-9d50-4a61-feaedd99eb86@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <774dee52-7f68-9d50-4a61-feaedd99eb86@redhat.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE 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 Sat, Apr 30, 2022 at 07:54:57AM -0700, Tom Rix wrote: > > On 4/30/22 7:24 AM, Xu Yilun wrote: > > On Fri, Apr 29, 2022 at 05:23:53AM -0700, Tom Rix wrote: > > > On 4/28/22 5:57 PM, Tianfei Zhang wrote: > > > > From: Matthew Gerlach > > > > > > > > Add the Device Feature List (DFL) feature id for the > > > > High Speed Serial Interface (HSSI) Subsystem to the > > > > table of ids supported by the uio_dfl driver. > > > > > > > > The HSSI Subsystem is a configurable set of IP blocks > > > > to be used as part of a Ethernet or PCS/FEC/PMA pipeline. > > > > Like the Ethernet group used by the N3000 card, the HSSI > > > > Subsystem does not fully implement a network device from > > > > a Linux netdev perspective and is controlled and monitored > > > > from user space software via the uio interface. > > > Generally you should include the url for the dfl definitions. > > > > > > Can you add it here to the commit log ? > > Do you refer to this url, https://github.com/OPAE/dfl-feature-id ? > > Yes, exactly. > > To someone not working the day-to-day working dfl they will have no clue > where the fids come from. > > When a new one is added to the kernel, it should have a listing in > dfl-feature-id repo. > > If it doesn't, there will be a future conflict. I remember a recent patch records the url in Documentation/fpga/dfl.rst. Anyway I'm OK with or without the url in commit message. Thanks, Yilun > > Tom > > > > > Hao has some comments about this at > > > > https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@DM6PR11MB3819.namprd11.prod.outlook.com/ > > > > > Otherwise fine. > > > > > > Reviewed-by: Tom Rix > > > > > > > Signed-off-by: Matthew Gerlach > > > > Signed-off-by: Tianfei Zhang > > This patch is now good to me. > > > > Acked-by: Xu Yilun > > > > > > --- > > > > v3: change the name of this feature id to HSSI_SUBSYS and rewrite > > > > the git message. > > > > v2: add HSSI introduction and the git repo of Feature ID table. > > > > --- > > > > drivers/uio/uio_dfl.c | 2 ++ > > > > 1 file changed, 2 insertions(+) > > > > > > > > diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c > > > > index 89c0fc7b0cbc..8f39cc8bb034 100644 > > > > --- a/drivers/uio/uio_dfl.c > > > > +++ b/drivers/uio/uio_dfl.c > > > > @@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) > > > > } > > > > #define FME_FEATURE_ID_ETH_GROUP 0x10 > > > > +#define FME_FEATURE_ID_HSSI_SUBSYS 0x15 > > > > static const struct dfl_device_id uio_dfl_ids[] = { > > > > { FME_ID, FME_FEATURE_ID_ETH_GROUP }, > > > > + { FME_ID, FME_FEATURE_ID_HSSI_SUBSYS }, > > > > { } > > > > }; > > > > MODULE_DEVICE_TABLE(dfl, uio_dfl_ids);