Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp862522rdg; Fri, 13 Oct 2023 03:37:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFKgP7ryit1S/mbxHgPUU/8nvS8qW8RBQWXh9bm1enLf66XDeDUS6YsCydcuiRt8dXjYYU X-Received: by 2002:a9d:7ad3:0:b0:6c4:9423:a350 with SMTP id m19-20020a9d7ad3000000b006c49423a350mr28089215otn.3.1697193433661; Fri, 13 Oct 2023 03:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697193433; cv=none; d=google.com; s=arc-20160816; b=hW0S8ADxnLkjCxcpcHpddzBICs53/n5yp1AT2kT2CtQsDMrmG0B2YIoIyw188/sPql qfeXTF4cX4ygZaTV9vQzAed5jQ8IAun7BavCt6J1tBokIT+G4Qc2sqQlRmloDN2pL/dg UJppR3PKzczruub6/9JgpdaSu9AYOTyTR52Cj6nMCNZkmXEWw/2pO4id+O7YKzJpnD19 8i0Ml+cE7lBtvYIIyklYmtHNZEOVSQy3X6RFVQMrIC3GXMyPndLZRM7PEd41MYvc6mWJ wBqcwDnSTsy2mra313fJkIld6h8LWgjH4osAelIeUVMhUMuO4/mH1zTUtgX9m3Tef4+s M07g== 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=RdChUqxyQyjYxxGsj3EfITX1GoAaK0JyjOG8812kfmo=; fh=tQKIhE6szfDKuS+YNJNF1BleN8BHigA9j1Y8VbuREpo=; b=YxX1Vu0utprRuw+yJgdH/Qb6cwEdJ/v7auknxm2lA8q+RSq12FEjPaa5DrzYK0vYHw KT5qSrfMjFvimMZjgTAEIhuJyTWwk0a91DJg/P6V1i6TLfAGCF4JwiAyliF6wa1I21HK HnAOQl9whp0vN+JycCCGZrJ1f9A5qVsSXDp8KHwxc87ZXv+00d2y8sljKFcux1yh4NMN XL7tT8sq7FqndjgpeXCnd8HxUrJodPyvROFDX/Ka4Y/gkVUaRSErHt8dJ2otgY27upzy gHBLjqQWARDgiZccsUm7RKrYaRj0+oMM0leE3zwUqbIAsEcIoBjmWr05e/1Y3F0Hl4Fs 6a2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p31-20020a635b1f000000b00577960a815csi4126984pgb.188.2023.10.13.03.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 03:37:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 44644804C4A9; Fri, 13 Oct 2023 03:37:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230232AbjJMKhH (ORCPT + 99 others); Fri, 13 Oct 2023 06:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230229AbjJMKhG (ORCPT ); Fri, 13 Oct 2023 06:37:06 -0400 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C748ACA for ; Fri, 13 Oct 2023 03:37:03 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qrFXO-006jZS-Ty; Fri, 13 Oct 2023 18:37:00 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 13 Oct 2023 18:37:03 +0800 Date: Fri, 13 Oct 2023 18:37:03 +0800 From: Herbert Xu To: Lucas Segarra Fernandez Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com, Giovanni Cabiddu Subject: Re: [PATCH v4] crypto: qat - add cnv_errors debugfs file Message-ID: References: <20231004103642.37876-1-lucas.segarra.fernandez@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231004103642.37876-1-lucas.segarra.fernandez@intel.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 13 Oct 2023 03:37:11 -0700 (PDT) On Wed, Oct 04, 2023 at 12:36:42PM +0200, Lucas Segarra Fernandez wrote: > The Compress and Verify (CnV) feature check and ensures data integrity > in the compression operation. The implementation of CnV keeps a record > of the CnV errors that have occurred since the driver was loaded. > > Expose CnV error stats by providing the "cnv_errors" file under > debugfs. This includes the number of errors detected up to now and > the type of the last error. The error count is provided on a per > Acceleration Engine basis and it is reset every time the driver is loaded. > > Signed-off-by: Lucas Segarra Fernandez > Reviewed-by: Giovanni Cabiddu > --- > v3 -> v4: > - rebase on top of latest version (v6) of crypto: qat - add pm_status debugfs file > - alphabetical order for intel_qat-$(CONFIG_DEBUG_FS) makefile target > --- > v2 -> v3: > - remove unneeded header inclussion > --- > v1 -> v2: > - Rebase on top of latest version (v4) of crypto: qat - add pm_status debugfs file > --- > Documentation/ABI/testing/debugfs-driver-qat | 13 + > 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 | 21 ++ > .../intel/qat/qat_common/adf_cnv_dbgfs.c | 299 ++++++++++++++++++ > .../intel/qat/qat_common/adf_cnv_dbgfs.h | 11 + > .../intel/qat/qat_common/adf_common_drv.h | 1 + > .../crypto/intel/qat/qat_common/adf_dbgfs.c | 3 + > .../qat/qat_common/icp_qat_fw_init_admin.h | 5 + > 9 files changed, 355 insertions(+) > create mode 100644 drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c > create mode 100644 drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.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