linux/drivers/crypto/intel/iaa
Zanussi, Tom 8c5459f166 crypto: iaa - Remove potential infinite loop in check_completion()
For iaa_crypto operations, it's assumed that if an operation doesn't
make progress, the IAA watchdog timer will kick in and set the
completion status bit to failure and the reason to completion timeout.

Some systems may have broken hardware that doesn't even do that, which
can result in an infinite status-checking loop. Add a check for that
in the loop, and disable the driver if it occurs.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-10-05 13:22:05 +08:00
..
Kconfig crypto: iaa - Add IAA Compression Accelerator stats 2023-12-15 17:52:53 +08:00
Makefile crypto: iaa - Add IAA Compression Accelerator stats 2023-12-15 17:52:53 +08:00
iaa_crypto.h crypto: iaa - Change iaa statistics to atomic64_t 2024-04-02 10:49:38 +08:00
iaa_crypto_comp_fixed.c crypto: iaa - Remove header table code 2024-01-26 16:39:32 +08:00
iaa_crypto_main.c crypto: iaa - Remove potential infinite loop in check_completion() 2024-10-05 13:22:05 +08:00
iaa_crypto_stats.c crypto: iaa - Change iaa statistics to atomic64_t 2024-04-02 10:49:38 +08:00
iaa_crypto_stats.h crypto: iaa - Remove comp/decomp delay statistics 2024-04-02 10:49:38 +08:00