Re: [PATCH v5 8/8] s390/crypto: Map EBUSY to EIO when key conversion fails repeatedly

Holger Dengler <[email protected]>
Newsgroups org.kernel.vger.linux-s390
Message-ID <[email protected]>
On 8/20/26 16:19, Harald Freudenberger wrote:
> 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.
> 
> Signed-off-by: Harald Freudenberger <[email protected]>

Please add fixes- and cc-stable tags. With that you can add my
Reviewed-by: Holger Dengler <[email protected]>

-- 
Mit freundlichen Grüßen / Kind regards
Holger Dengler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.