JIRA: https://issues.redhat.com/browse/RHEL-49539 Upstream Status: merged into herbert/crypto-2.6.git commit 8c5459f1663ee689f94e69b25adb415cb95acb88 Author: Zanussi, Tom <tom.zanussi@linux.intel.com> Date: Fri Sep 27 13:46:49 2024 -0500 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> Signed-off-by: Vladis Dronov <vdronov@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
iaa_crypto.h | ||
iaa_crypto_comp_fixed.c | ||
iaa_crypto_main.c | ||
iaa_crypto_stats.c | ||
iaa_crypto_stats.h |