Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2182254rwp; Fri, 14 Jul 2023 02:00:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHwiI9WxjXl1/EFJiQNns7SQ939al4a7fhoPjNEbYwIxDYFGKRAdumV0agREVp2VcojBHSf X-Received: by 2002:a17:90a:7bca:b0:262:dd2c:54fc with SMTP id d10-20020a17090a7bca00b00262dd2c54fcmr2421129pjl.42.1689325242358; Fri, 14 Jul 2023 02:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689325242; cv=none; d=google.com; s=arc-20160816; b=APNKALQx2eApWD+CPAcPVgxaT3+MTLbaz4SPpM8L6kJLQRmj8SwUXJ72fSTsrABIwT 8/v7D9o6cTBffMpr4nkm45mEFZxp4Vs362kMxo3HoiKtRtYaKKA6ouuUV6zit/pPH5xN /SorwxykhfyNHIXImC54B2VPa8SNYcp+aEIRgs1OX/mMAwCqGN4tef1ARIG4qm8tPf3g OKWoXOTQ51bNy2q4VNhh+GRdgWM/K0Dfne9ojHHeAJ8+ANNISvRlGaMpGM8W/np9jxeh AgCv57X8IzqgPsvvhIaDOiRuVrd2+7WnHo8j9UFg78KA9CC3y5Dgk9Vwgenu2k/xoS3s RORA== 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; bh=FPSCWGEqo8erORVXo8AhzNtS+t2zT7Gowd8ChV/FuJc=; fh=zOjG7E4tww3S+wpDgkCLE5w+jU+mrZ1kJpWg5SD/9Rw=; b=M1kp/E54i1D27pBTTkZOBavZy7W0KsAAW3323RYoUx+Z5xecw/mVIqHLRXZyD9mz5f V2kAAC0CZ9HKb6nRlEaE41VaOm7dds183++Bgwu8kD0/gC7KJmVgSgmOz22JOzaX4X+Z Mcz4GmCLAR/DD9l6SirUHSj9sG1KQlSe5rXnDNmsp5CQvK74VJ/DydJTwOwdSo7aIPwk SoyozKHKtsLpOqXE3GvUdTnqwMXKSp7H1EULBHBnI/VJbN6PYlyhdivJCmqi/qNxsf+p 9oQwzZoGWDKVXCOAzXGgh764J89ABEukbqLia0kDq2xBBqV12YV3weITEjVEnn+1Ls+r pWWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w3-20020a17090a380300b00263ba5d7088si919893pjb.48.2023.07.14.02.00.21; Fri, 14 Jul 2023 02:00:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234764AbjGNI4L (ORCPT + 99 others); Fri, 14 Jul 2023 04:56:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234916AbjGNI4K (ORCPT ); Fri, 14 Jul 2023 04:56:10 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 541D42683 for ; Fri, 14 Jul 2023 01:56:07 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qKEap-001Rgd-2t; Fri, 14 Jul 2023 18:56:04 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 14 Jul 2023 18:55:56 +1000 Date: Fri, 14 Jul 2023 18:55:56 +1000 From: Herbert Xu To: Lucas Segarra Fernandez Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com, Adam Guerin , Giovanni Cabiddu , Andy Shevchenko Subject: Re: [PATCH v2] crypto: qat - add fw_counters debugfs file Message-ID: References: <20230630153235.47867-1-lucas.segarra.fernandez@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230630153235.47867-1-lucas.segarra.fernandez@intel.com> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, RCVD_IN_DNSWL_BLOCKED,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Jun 30, 2023 at 05:32:07PM +0200, Lucas Segarra Fernandez wrote: > Expose FW counters statistics by providing the "fw_counters" file > under debugfs. Currently the statistics include the number of > requests sent to the FW and the number of responses received > from the FW for each Acceleration Engine, for all the QAT product > line. > > This patch is based on earlier work done by Marco Chiappero. > > Co-developed-by: Adam Guerin > Signed-off-by: Adam Guerin > Signed-off-by: Lucas Segarra Fernandez > Reviewed-by: Giovanni Cabiddu > Reviewed-by: Andy Shevchenko > --- > v1 -> v2: > - Updated version and date in documentation > --- > Documentation/ABI/testing/debugfs-driver-qat | 10 + > drivers/crypto/intel/qat/qat_common/Makefile | 1 + > .../intel/qat/qat_common/adf_accel_devices.h | 1 + > .../crypto/intel/qat/qat_common/adf_admin.c | 18 ++ > .../intel/qat/qat_common/adf_common_drv.h | 1 + > .../crypto/intel/qat/qat_common/adf_dbgfs.c | 7 + > .../intel/qat/qat_common/adf_fw_counters.c | 264 ++++++++++++++++++ > .../intel/qat/qat_common/adf_fw_counters.h | 11 + > 8 files changed, 313 insertions(+) > create mode 100644 Documentation/ABI/testing/debugfs-driver-qat > create mode 100644 drivers/crypto/intel/qat/qat_common/adf_fw_counters.c > create mode 100644 drivers/crypto/intel/qat/qat_common/adf_fw_counters.h Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt