Skip to content

crypto: IAA stats bugfixes and simplifications

Tom Zanussi dmaengine linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: iaa - fix decomp_bytes_in statsdrivers/crypto/intel/iaa/iaa_crypto_main.c+2 -20 replies
2/4crypto: iaa - Remove comp/decomp delay statisticsdrivers/crypto/intel/iaa/iaa_crypto_main.c drivers/crypto/intel/iaa/iaa_crypto_stats.c drivers/crypto/intel/iaa/iaa_crypto_stats.h+0 -450 replies
3/4crypto: iaa - Add global_stats file and remove individual stat filesDocumentation/driver-api/crypto/iaa/iaa-crypto.rst drivers/crypto/intel/iaa/iaa_crypto_stats.c+61 -450 replies
4/4crypto: iaa - Change iaa statistics to atomic64_tdrivers/crypto/intel/iaa/iaa_crypto.h drivers/crypto/intel/iaa/iaa_crypto_stats.c+77 -640 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] crypto: IAA stats bugfixes and simplifications

Hi Herbert,

While doing some testing, I noticed a discrepancy in the decomp_bytes_in stat, which the first patch in this series (crypto:
iaa - fix decomp_bytes_in stats) fixes.

I also realized that there were some other problems unrelated to that but also that the stats code could be simplified in a number of ways and that some of it wasn't really useful. The stats code is debugging code and has been helpful to quickly verify whether things are basically working, but since it's there we should make it as accurate and actually useful as possible.

I realize the second patch (crypto: iaa - Remove comp/decomp delay statistics) removes the code I just fixed up in a patch you just merged (crypto: iaa - Fix comp/decomp delay statistics) - let me know if you want me to combine those if you want to remove the latter from your branch...

Thanks,

Tom

*** BLURB HERE ***

Tom Zanussi (4):
crypto: iaa - fix decomp_bytes_in stats
crypto: iaa - Remove comp/decomp delay statistics
crypto: iaa - Add global_stats file and remove individual stat files
crypto: iaa - Change iaa statistics to atomic64_t

 .../driver-api/crypto/iaa/iaa-crypto.rst      |  76 +++++---
 drivers/crypto/intel/iaa/iaa_crypto.h         |  16 +-
 drivers/crypto/intel/iaa/iaa_crypto_main.c    |  13 +-
 drivers/crypto/intel/iaa/iaa_crypto_stats.c   | 183 ++++++++----------
 drivers/crypto/intel/iaa/iaa_crypto_stats.h   |   8 -
 5 files changed, 140 insertions(+), 156 deletions(-)
Signature · 1 line
2.34.1