diff options
| author | Harald Freudenberger <freude@linux.ibm.com> | 2026-08-31 10:38:37 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-09-08 15:53:41 +0200 |
| commit | 7a08507ea5b4d06ad8d269287913573f34467565 (patch) | |
| tree | b76ce2947c3dea734fe029d3a2d033e26749a43a /scripts/basic | |
| parent | ac1481320110b803ab9b79ab4d2ca11a74fc05f2 (diff) | |
| download | linux-7a08507ea5b4d06ad8d269287913573f34467565.tar.gz linux-7a08507ea5b4d06ad8d269287913573f34467565.zip | |
s390/crypto: Map EBUSY to EIO when key conversion fails repeatedly
When hardware persistently returns -EBUSY after exhausting retries,
the error propagates to crypto_finalize_*_request(). The crypto API's
completion wrapper treats -EBUSY as a queueing status and swallows it,
preventing the completion callback from firing. This causes callers
using crypto_wait_req() to block indefinitely.
Translate persistent -EBUSY to -EIO after retry exhaustion to ensure
proper error propagation and callback invocation.
Fixes: 6cd87cb5ef6c ("s390/crypto: Rework protected key AES for true asynch support")
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Cc: stable@vger.kernel.org # 6.16+
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
