]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: qat - remove access to parity register for QAT GEN4
authorBairavi Alagappan <bairavix.alagappan@intel.com>
Fri, 14 Mar 2025 15:09:31 +0000 (15:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:20 +0000 (14:39 +0200)
commit64bb7efb0c4c4e3e4bb6c8d6a24c0e662d0c1c86
tree92cd5896af7bd6067406093556c0adec6b7b3195
parent4409e87cdc8b068c29a71db9fee43f024c8ee3bd
crypto: qat - remove access to parity register for QAT GEN4

[ Upstream commit 92c6a707d82f0629debf1c21dd87717776d96af2 ]

The firmware already handles parity errors reported by the accelerators
by clearing them through the corresponding SSMSOFTERRORPARITY register.
To ensure consistent behavior and prevent race conditions between the
driver and firmware, remove the logic that checks the SSMSOFTERRORPARITY
registers.

Additionally, change the return type of the function
adf_handle_rf_parr_err() to void, as it consistently returns false.
Parity errors are recoverable and do not necessitate a device reset.

Fixes: 895f7d532c84 ("crypto: qat - add handling of errors from ERRSOU2 for QAT GEN4")
Signed-off-by: Bairavi Alagappan <bairavix.alagappan@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.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_common/adf_gen4_ras.c