Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3599162iob; Mon, 2 May 2022 00:07:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJw20Vq+nnfAg6y7xnAvI/88L+Q3uUyf7jF41lCaD2mHOliKqdU4HJXOr4LnuMPvL/5D5e X-Received: by 2002:a17:903:246:b0:153:84fe:a9b0 with SMTP id j6-20020a170903024600b0015384fea9b0mr10726030plh.163.1651475274786; Mon, 02 May 2022 00:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651475274; cv=none; d=google.com; s=arc-20160816; b=kuas+/MBBBbSR79zevhS6k9RTftAhygXLv9PIgq2k2XNKcELmveMZVRykEMPr++bgm 7zfktgAyHTieRPJxUle6FkcC40CuwYedvLXscW5qS1qfqz6bwPN1Z9xtqQ7wygJEqIr9 qxvPvVCEzlViTHdu8aiJXf6TWjtZk0xlVhXOOsy5zTYub7FxJXGoz7xJanycKpkZyDtP +BH+ekuNnWY2fB1gGGo9NfjpaPCCJrrDyC9zPU5JPwNVxcVbUZiplzeaQ1CWrvAkheaf GfL3BTmcno9MIB6jzSJQ1oHNRPT/aUuGfskbZ0SfMdPG3HMvrG0seeBUq4U0Jexks740 0G8Q== 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=BFw4xdCwAZVnkQ/SrRAL1LhN4iGQ2y6pxrU/lBDmvdE=; b=AkeBNLOWNJT2DJdLMrUFhp/dvpTwTVvPa+kx9pxzJbYyPiK8pmngBuJZ0EKtCy2l02 qa+Uy2o352oCcjBwYeGT6crkDSOIufWgr/P//Y9in7kAwzDYNhnpaljh1LmI5Sdo/Gqy ZlaP3ijOMMSJRdLyfaqIZDI0YrMOh8nu2O0vxO4kGOUAYvQVL6iC8xCz8Llu/p44aCwU biU3Jr5uOOOKS9re1GgIp5WtRTG5ZvwGO2LrLPGSCzcffNmt7m911n6B3igLu1gY936y jzPDJa0+aG4iWQMsNbIE65IQxPGHK7yrod5uOEG9EWpdPIfWB3zv7GhpLNIKzsWyoyTi u/5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mAQQbcp2; 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 143-20020a621695000000b004fdada2b1d5si12242955pfw.327.2022.05.02.00.07.40; Mon, 02 May 2022 00:07:54 -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=mAQQbcp2; 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 S1353623AbiD2BEO (ORCPT + 99 others); Thu, 28 Apr 2022 21:04:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244954AbiD2BEN (ORCPT ); Thu, 28 Apr 2022 21:04:13 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AA228A7CA; Thu, 28 Apr 2022 18:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651194057; x=1682730057; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KKNCxTu+99qwXWlFXVm9YNtdsjLfxYjBNRBEyc2G6G4=; b=mAQQbcp2k0zL78W8gC19S7tyUJW6prlN0ZnE4+NGTKPWXVwcB7zIL8Oc HTuYHJKcLNzfsFsZ2J9OglEqEEJhNoWxIVgveCekEcmn4mL0DS4QArGqN sczpap62sfdKkNy12P0q7v2CuWlYD2/mt247OboTzxhi49adm3V8OY8W2 CPW0aiwGutNFiX9SiQ75RNkts+dL7FxFRGLnOp65DAfkcXTmsrXIihDjo 21/sM0oOLQoFlThvL4QzpbXmHvvNiBtAI+4tl9eLbynkw6DGjapAlWprb QySvn21bb7NgydW3gcqseYJmR3ZwfFMCFH5iEcVtzo4sKny8WQlZ+MtOk Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10331"; a="247038702" X-IronPort-AV: E=Sophos;i="5.91,296,1647327600"; d="scan'208";a="247038702" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 18:00:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,296,1647327600"; d="scan'208";a="629827632" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.238.175.107]) by fmsmga004.fm.intel.com with ESMTP; 28 Apr 2022 18:00:54 -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 v3] uio: dfl: add HSSI subsystem feature id Date: Thu, 28 Apr 2022 20:57:26 -0400 Message-Id: <20220429005726.607804-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=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 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. Signed-off-by: Matthew Gerlach Signed-off-by: Tianfei Zhang --- 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