Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1857616rwl; Wed, 12 Apr 2023 20:46:05 -0700 (PDT) X-Google-Smtp-Source: AKy350bDd8/Ru//7ZAi3ljuCO22MzbCWQtw5va5KoAqSTTL7IUm/neDluhQurPDc762uLKJJIJcs X-Received: by 2002:a17:906:49cb:b0:947:630b:35f8 with SMTP id w11-20020a17090649cb00b00947630b35f8mr1154845ejv.17.1681357564897; Wed, 12 Apr 2023 20:46:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681357564; cv=none; d=google.com; s=arc-20160816; b=BrJ7dcYHhurRH7est959Ydc2V9fpR58bHVBq/nxQogx9dpmRSZ8A2rjPTEe74m4qtc dWjEf/YMw69YwWaXm3kYr1XRRgLyjFhgwICmQtXG74kKBnLl55s65DUKq9APnJg2Mciy /HlhQaBOrxJH9uykCG66qtGGCQm/lZLK6at8W1/NvJFrENUWIeYFEFPgxyC1oV6ELywD MEjg3RAhFhO14HGbxEee7JzSWwX+Ig1ny6uZ7juA+e06TZA7E1g0A4udeZePQA9ZMyo1 3UWhujBxgViGghzNjDaxGnXlSlz675BdK2m2IvLPDUb64iEkhgMK3tbApxsW4ni6oERX k6qA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=yNtz16fryV+HlrZZGHF6rWBb4paBjNkcbu+Hvc4h7bA=; b=EohtErbwDJ8KOh/Flzyf2h9Pfl/ELCFolIPzaNPUAMaiE0mTkeCyWswIp6CY+HRiiW foVdD6MTnvcSaSFfAJxHXMMA0DPpK3DBQVpSN2ZJD9sUSQv4HlGsKEug3tt+iU4fuy1v tgcgPW61d+oNXHtEs/HL5HN+7xp9KTf7v9aHCWBp/GYQLduakY64YdLo0hLofa5JY+UX kB9C6xrVLMiOGOTSSLegg22onKoYv7Wam+BnBU5kz0IHM87cTsB8x82EnG6CEAg+cQTx 6f9mTDIjNRhQTWeLvAUXL5vRupMSIs+NU6CXLEP1yLE9pvfAjZ7pbFh4ccYCQM1+2zNY JR+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W+CnNi47; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vz15-20020a17090704cf00b0094e6e158fafsi671323ejb.233.2023.04.12.20.45.38; Wed, 12 Apr 2023 20:46:04 -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=@kernel.org header.s=k20201202 header.b=W+CnNi47; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229869AbjDMDf1 (ORCPT + 99 others); Wed, 12 Apr 2023 23:35:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229870AbjDMDfH (ORCPT ); Wed, 12 Apr 2023 23:35:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FD7283CC; Wed, 12 Apr 2023 20:35:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5ABA463A1E; Thu, 13 Apr 2023 03:35:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DF10C433EF; Thu, 13 Apr 2023 03:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681356901; bh=rpTOShEt7WFV/HeS+ADKohhQwe6BCzAr5M17MqUv1dA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=W+CnNi477tF3vvqQ6Ih+bxmmazTbxa9lmbVi8Ay548kvHACzhv2CShqr/sQyGkqVg eEiS1rGwu1fEoCF7QHqVhBv28G7Q76Zzb5JRTfMYmnb+BUvOClOu59MQAo/icW5oqr y2SdR/a9fZjInpPrHgB+YH53i/7j2s9aYHiyvACBtDhXgRPl0HLRx46bspRRZkoLQC Fom2cvuRRCx+jwJjsvev6Wt/e8BQBoJ9QlOcHgBSzMoZ03evZrDkL2VNW06RMgsdzV 5Nb7bxuJ6h0ajdkTpJgzmqKhyP15Wj8nsnytSrVd3oz4iBUgynJwnE1ZB20pBQEkG5 Xaza7QZqi0GgQ== Date: Wed, 12 Apr 2023 20:35:00 -0700 From: Jakub Kicinski To: Arkadiusz Kubalewski Cc: jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, corbet@lwn.net, jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org Subject: Re: [RFC PATCH v1] ice: add CGU info to devlink info callback Message-ID: <20230412203500.36fb7c36@kernel.org> In-Reply-To: <20230412133811.2518336-1-arkadiusz.kubalewski@intel.com> References: <20230412133811.2518336-1-arkadiusz.kubalewski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 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_PASS,URIBL_BLOCKED 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 Wed, 12 Apr 2023 15:38:11 +0200 Arkadiusz Kubalewski wrote: > If Clock Generation Unit and dplls are present on NIC board user shall > know its details. > Provide the devlink info callback with a new: > - fixed type object `cgu.id` - hardware variant of onboard CGU > - running type object `fw.cgu` - CGU firmware version > - running type object `fw.cgu.build` - CGU configuration build version > > These information shall be known for debugging purposes. > > Test (on NIC board with CGU) > $ devlink dev info / | grep cgu > cgu.id 8032 > fw.cgu 6021 > fw.cgu.build 0x1030001 > > Test (on NIC board without CGU) > $ devlink dev info / | grep cgu -c > 0 > > Signed-off-by: Arkadiusz Kubalewski Is it flashed together with the rest of the FW components of the NIC? Or the update method is different?