]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: qat - set parity error mask for qat_420xx
authorBairavi Alagappan <bairavix.alagappan@intel.com>
Fri, 14 Mar 2025 13:14:29 +0000 (13:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:17 +0000 (14:39 +0200)
commitf23dfee54b57a8d95d39a4f1a0e893f28dfbb668
treee238398a07cd05f871ec5145ed8904eae283a526
parent92936d50c5b8497606c1787181fee6fe01336d66
crypto: qat - set parity error mask for qat_420xx

[ Upstream commit f9555d18084985c80a91baa4fdb7d205b401a754 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c
drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c