Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3945532ioa; Tue, 26 Apr 2022 13:04:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzScoiYowKlDKoD+dWiFcqzu+jkh0e6IZ0PQ+HJ4F4gtBWFtPo0knMEq2+9/RB4mYWWVQZ X-Received: by 2002:a17:907:9687:b0:6f3:6b4a:cb9b with SMTP id hd7-20020a170907968700b006f36b4acb9bmr17543756ejc.603.1651003497741; Tue, 26 Apr 2022 13:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651003497; cv=none; d=google.com; s=arc-20160816; b=C8SnmxD0i8cHpjFAIKMO2VymrR0PJdlcQOGHu9+pJm+YxoFQ+RmYJk6MmxfNjsYJ8k qnO/OiWIE8DfUkQApGHjNuP4cm6Egc1m6IZ/QR30F4YSujYOScuTFqwa6WoIxdAuT6Vt 6y/U7wznJgeJvkHO3pigLFazbKpr20MkvFnic/ajISmRjJCF92D+h+HyTlsCNYbcCVIl N71DomDCytnPGrclxEC9ckCDOmFx63CzawmKGsOe6a3hCwrCv/dQ+VP67yTFo3pXif8h gMSfSiGZK56sIXS/keOvKsL52P/SnnF9o0jM1cqtz2Df943cERja6PUmhskvvP6kprnv aIYg== 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=VFRVUaeleg88Ra3kYDxGBgQgP4Bdjt17sVgHRK7Z8w4=; b=T97WV1C4oeEQC4X2XGtUl1CbyYvmJfkKtxbZvFkvIuFqed6JEAPMjQPkhVb2MCJBLg 8XXt5TTB55yPh7DFgW8/kXCTYmpjY6LJQwg4UCspPAK4gawdIjsdxAsUU3dOa6OHN50r ZI6o1cocm4nNv8dBtA/69OMgsMHazijwYsG4beTqwNR2j/d6NPFT3+bx27eg6GA2jofs 2FYLdl/oalIX56LdUwXigdPOJOhDwVCPiihUawHhPLNngxXHK1JEXP4WzcYNjYeT3iGR tzW3RK8q2qFtyO+M1LuiX606H0Vs5NlO5cnQnclhTdbHhCvGgFb5Ey39mGf/cKtX80+V esWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=M7i+9q89; 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 j6-20020a05640211c600b0041d7dfc8a6bsi6164599edw.259.2022.04.26.13.04.33; Tue, 26 Apr 2022 13:04:57 -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=M7i+9q89; 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 S1345868AbiDZR52 (ORCPT + 99 others); Tue, 26 Apr 2022 13:57:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230050AbiDZR50 (ORCPT ); Tue, 26 Apr 2022 13:57:26 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE8ED2E0B4; Tue, 26 Apr 2022 10:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650995658; x=1682531658; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=jJ8eOB3830gC2jPBb90aQ/vhfais5CAB8rdWnLYRFYY=; b=M7i+9q89g7zePOq+KqnwT4UlbAUUbuJWaEFkjDL3yhZdM8cz/9cjcVcx +NihKV7BG/JaCnGD3dNZOFPpcMUMDV/RVeGHUvTIv5XZbu+Zyl8R00fCk hwQhxSc/78k7w+aOTsJoAuvOyhQx1GeUNXIbQqGMlYH2oQbube1WpD4TV ThMSKiXJMTkdabAXb67dMz+9KfylcjZ4Eic6PrqXEbe5NpysSO6FIflvF +yRieNMs2wpcvwwC0XaRZUle1fT8wp8OE/qXY5CzrnxYdZJhRraSAPlwO QxeljiiIBB5+n0XgNTp7DLCiPC57hKJ428w1726hU1E3KBybX0MdgrhSC w==; X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="352112929" X-IronPort-AV: E=Sophos;i="5.90,291,1643702400"; d="scan'208";a="352112929" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 10:54:18 -0700 X-IronPort-AV: E=Sophos;i="5.90,291,1643702400"; d="scan'208";a="513280383" Received: from rhweight-wrk1.ra.intel.com ([137.102.106.43]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 10:54:18 -0700 Date: Tue, 26 Apr 2022 10:54:10 -0700 (PDT) From: matthew.gerlach@linux.intel.com X-X-Sender: mgerlach@rhweight-WRK1 To: "Wu, Hao" cc: "Zhang, Tianfei" , "trix@redhat.com" , "mdf@kernel.org" , "Xu, Yilun" , "linux-fpga@vger.kernel.org" , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2] uio: dfl: add HSSI feature id In-Reply-To: Message-ID: References: <20220412062353.53984-1-tianfei.zhang@intel.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=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Tue, 26 Apr 2022, Wu, Hao wrote: >>>>> -----Original Message----- >>>>> From: Zhang, Tianfei >>>>> Sent: Tuesday, April 12, 2022 2:24 PM >>>>> To: Wu, Hao ; trix@redhat.com; mdf@kernel.org; Xu, >>>>> Yilun ; linux-fpga@vger.kernel.org; >>>>> gregkh@linuxfoundation.org >>>>> Cc: linux-kernel@vger.kernel.org; Matthew Gerlach >>>>> ; Zhang, Tianfei >>>>> >>>>> Subject: [PATCH v2] uio: dfl: add HSSI feature id >>>>> >>>>> From: Matthew Gerlach >>>>> >>>>> Add the feature id of the OFS HSSI (High Speed Serial Interface) >>>> >>>> We still don't see any description on what OFS is here, or will OFS be added to >>>> title as well? we don't expect another submission with the same title but for >> XXX >>>> HSSI again. >>> >>> This name of HSSI module in dfl feature id table is : OFS HSSI subsystem. >>> >>> How about this tile: >>> uio: dfl: add OFS HSSI device id >>> >>> Add OFS HSSI (Open FPGA Stack High Speed Serial Interface) device ID in >> uio_dfl driver for Intel PAC N6000 Card. >> >> Hi Tianfei, >> >> In the Platform Designer tool, this IP block is referred to as the HSSI >> Subsystem. I think we should use the same name here. Additionally, this >> subsystem is already in use in multiple cards; so I suggest dropping >> any reference to a particular card. > > The only concern is that there are 4 HSSI in the feature id table. > Without any prefix, it may confuse people. > https://github.com/OPAE/dfl-feature-id Hi Hao, Good point about the possible confusion of 4 HSSI implementations mentioned in the table. I have submitted a pull request adding clarity to the table: https://github.com/OPAE/dfl-feature-id/pull/1 Matthew > >> >> Matthew >> >>> >>>> >>>>> subsystem to table of ids supported by the uio_dfl driver. HSSI >>>>> subsystem consists of harden/soft Ethernet MAC to support various >>>>> ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages. >>>>> >>>>> We leverage the uio_dfl driver to access the HSSI subsystem on user >>>>> space, because the HSSI subsystem was designed for specific purposes >>>>> and does not fit into the standard MAC and net kernel subsystems. >>>>> >>>>> The Feature ID table of DFL can be found: >>>>> https://github.com/OPAE/dfl-feature-id >>>> >>>> Why you put it here? even this link there is no more descriptions to >> understand >>>> what it is. Or can be removed here. >>> >>> Yes, I agree, I will remove it. >>>> >>>>> >>>>> Signed-off-by: Matthew Gerlach >>>>> Signed-off-by: Tianfei Zhang >>>>> --- >>>>> 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..660e1d0bf6b9 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_OFS_HSSI 0x15 >>>>> >>>>> static const struct dfl_device_id uio_dfl_ids[] = { >>>>> { FME_ID, FME_FEATURE_ID_ETH_GROUP }, >>>>> + { FME_ID, FME_FEATURE_ID_OFS_HSSI }, >>>>> { } >>>>> }; >>>>> MODULE_DEVICE_TABLE(dfl, uio_dfl_ids); >>>>> -- >>>>> 2.26.2 >>> >>> >