]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: qat - count QAT GEN4 errors
authorShashank Gupta <shashank.gupta@intel.com>
Fri, 20 Oct 2023 10:32:53 +0000 (11:32 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:27 +0000 (18:04 +0800)
commit99b1c9826e481c3ebe6e7d905b7a0edf853639fd
tree1e54f8f4bc1bc2eea8fdd996df5c56ae6f5b031e
parent532d7f6bc458042571752168bcb5e1fdc576b8c4
crypto: qat - count QAT GEN4 errors

Add logic to count correctable, non fatal and fatal error for QAT GEN4
devices.
These counters are reported through sysfs attributes in the group
qat_ras.

Signed-off-by: Shashank Gupta <shashank.gupta@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Tero Kristo <tero.kristo@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c