crypto: qat - add handling of errors from ERRSOU2 for QAT GEN4

Add logic to detect, report and handle uncorrectable errors reported
through the ERRSOU2 register in QAT GEN4 devices.

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>
This commit is contained in:
Shashank Gupta
2023-10-20 11:32:48 +01:00
committed by Herbert Xu
parent 4926e89d19
commit 895f7d532c
5 changed files with 1055 additions and 0 deletions

View File

@@ -178,6 +178,12 @@ struct adf_dc_ops {
struct adf_dev_err_mask {
u32 cppagentcmdpar_mask;
u32 parerr_ath_cph_mask;
u32 parerr_cpr_xlt_mask;
u32 parerr_dcpr_ucs_mask;
u32 parerr_pke_mask;
u32 parerr_wat_wcp_mask;
u32 ssmfeatren_mask;
};
struct adf_hw_device_data {