Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4792306iob; Mon, 9 May 2022 01:34:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJZi71t4dX7Q9Mdn/CDUbfZgjF9FrYZq/B3G67GakB3hvt4N58tmgrPtRL+JI8UBb3nya5 X-Received: by 2002:a05:6a02:283:b0:342:703e:1434 with SMTP id bk3-20020a056a02028300b00342703e1434mr12177580pgb.74.1652085255043; Mon, 09 May 2022 01:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652085255; cv=none; d=google.com; s=arc-20160816; b=xWY9+XnyH+T8kueIXdoISdmPSMYb7pI4kTayf45lxWQL9DV3HFARoHlY6jGE5G6Tff awZfqX1OftkJ4N1SwLX3WTvJp5o7Mb7iPBsp4bQfQV7HtTlt4gKe+VBq+s+VxUF/sZrG 5b8IgWMCSJ09XMnNlLwkKleJa5tu0jPVVFhb5Feh6PImSw7TN6W37BghWNAa9NJBRZaj sUcmoE4kL0N98YHO3ldJbO/bzLDtJft+J8WFcjvWmSNlXnja1t6SCPdkwX+CnZMVYB7O Xc17a2HcTgkWhLbKdXHl2ZqkUQPWg9ixXMCxM37x9UQz4SFKF7las+rvzzL3Lf1xg1ps FeqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Rly2wxMo9UMm42U9L7YOG9Nn9DD8rLj9UBJJ9xqVBCY=; b=D3lfwdHEVA7/En8zzwZhcpDpaBURTbQvGmBIQME5lXAMZZgNVRYujEHpTuIGBWAoU8 VQJ2NHXhjrmsARDe2F0Fb/sqQGTAYx0uwWMMtqG4ayUvMOmUkz/IlvGdMrdEGRWMLo79 K9iumw6/4VVfPCXLyq8dedkuyH723g5CTBnvzS/VW0V6JNmQXVfUB4QMlTwovKHWKNNl vZeOcHJbqPvO7VFguKVN7Kq9jK/AfAqQl2f5RIiURApY6XgNM3EvNon17aJLT+u8SJ1P gMu+ug6Rsm21iPP6stQAQupYUgEVCwGwwh+IhyF2o51QQPShOvgusinCmpwFJP2Dnki3 7nFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BIRIHmmC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u9-20020a170902e80900b00153b2d165d2si13268996plg.474.2022.05.09.01.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:34:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BIRIHmmC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 79B3210C; Mon, 9 May 2022 01:16:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354087AbiEEJss (ORCPT + 99 others); Thu, 5 May 2022 05:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240358AbiEEJsn (ORCPT ); Thu, 5 May 2022 05:48:43 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 291B94BB89; Thu, 5 May 2022 02:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651743904; x=1683279904; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZK4Qw2SAAdbxMpdVelVruC4nwcuRXe+yXC9Vi4jRqLA=; b=BIRIHmmCJEgijtK5rK+a+klY9HUHhUxBADnGll2ZlGzAVTXEUzXs+9iq GyRpLLh7bPNnQKZGxvV+ae3GjJGCDC3inP+viZB7wLmxvpFOEbo5If8Av LTzs2K3Pxjan80VTpcxCBawIdhYD8lKhss5AOyvvzty8/34iBgYpDiTh2 hvMMP23p7k+9OdzJqJiiCZhEWKrR9Fyk3ijW99omtvtYTWs15qg1kApJW avkLao74vB7m0tCG8nk+/RSQU+Hu5Q59I9agQr4WC3lBB2ukpwuOlRqv/ LIijgul+kK6ZFPHbGulQ6Xil3RtwZkJLdGJJ4sTgxyu/e31QMM8qTxWff A==; X-IronPort-AV: E=McAfee;i="6400,9594,10337"; a="255532916" X-IronPort-AV: E=Sophos;i="5.91,200,1647327600"; d="scan'208";a="255532916" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 02:45:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,200,1647327600"; d="scan'208";a="734822629" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.238.175.107]) by orsmga005.jf.intel.com with ESMTP; 05 May 2022 02:45:00 -0700 From: Tianfei Zhang To: hao.wu@intel.com, trix@redhat.com, mdf@kernel.org, yilun.xu@intel.com, linux-fpga@vger.kernel.org, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Matthew Gerlach , Tianfei Zhang Subject: [PATCH v5] uio: dfl: add HSSI subsystem feature id Date: Thu, 5 May 2022 05:41:29 -0400 Message-Id: <20220505094129.686535-1-tianfei.zhang@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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. The Feature ID table of DFL can be found: https://github.com/OPAE/dfl-feature-id Signed-off-by: Matthew Gerlach Signed-off-by: Tianfei Zhang Reviewed-by: Tom Rix Acked-by: Xu Yilun --- v5: re-order the SoB chains. v4: add Reviewed-by and Acked-by tag and add Feature ID table url in git message. 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); -- 2.26.2