linux/drivers/crypto/intel
Bairavi Alagappan 64bb7efb0c crypto: qat - remove access to parity register for QAT GEN4
[ Upstream commit 92c6a707d8 ]

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: 895f7d532c ("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>
History 2025-04-10 14:39:20 +02:00
..
iaa crypto: iaa - Test the correct request flag 2025-04-10 14:39:17 +02:00
ixp4xx crypto: ixp4xx - fix OF node reference leaks in init_ixp_crypto() 2025-02-08 09:57:30 +01:00
keembay crypto: keembay - fix module autoloading 2024-08-24 21:36:07 +08:00
qat crypto: qat - remove access to parity register for QAT GEN4 2025-04-10 14:39:20 +02:00
Kconfig crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core 2023-12-15 17:52:53 +08:00
Makefile crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core 2023-12-15 17:52:53 +08:00