Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: qat - set parity error mask for qat_420xx

The field parerr_wat_wcp_mask in the structure adf_dev_err_mask enables
the detection and reporting of parity errors for the wireless cipher and
wireless authentication accelerators.

Set the parerr_wat_wcp_mask field, which was inadvertently omitted
during the initial enablement of the qat_420xx driver, to ensure that
parity errors are enabled for those accelerators.

In addition, fix the string used to report such errors that was
inadvertently set to "ath_cph" (authentication and cipher).

Fixes: fcf60f4bcf54 ("crypto: qat - add support for 420xx devices")
Signed-off-by: Bairavi Alagappan <bairavix.alagappan@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Bairavi Alagappan and committed by
Herbert Xu
f9555d18 987fd1a4

+2 -1
+1
drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c
··· 411 411 dev_err_mask->parerr_cpr_xlt_mask = ADF_420XX_PARITYERRORMASK_CPR_XLT_MASK; 412 412 dev_err_mask->parerr_dcpr_ucs_mask = ADF_420XX_PARITYERRORMASK_DCPR_UCS_MASK; 413 413 dev_err_mask->parerr_pke_mask = ADF_420XX_PARITYERRORMASK_PKE_MASK; 414 + dev_err_mask->parerr_wat_wcp_mask = ADF_420XX_PARITYERRORMASK_WAT_WCP_MASK; 414 415 dev_err_mask->ssmfeatren_mask = ADF_420XX_SSMFEATREN_MASK; 415 416 } 416 417
+1 -1
drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c
··· 695 695 if (err_mask->parerr_wat_wcp_mask) 696 696 adf_poll_slicehang_csr(accel_dev, csr, 697 697 ADF_GEN4_SLICEHANGSTATUS_WAT_WCP, 698 - "ath_cph"); 698 + "wat_wcp"); 699 699 700 700 return false; 701 701 }