Re: [PATCH v4] crypto: qat - add cnv_errors debugfs file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <lucas.segarra.fernandez@xxxxxxxxx>
> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx>
> ---
> 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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux