Re: [v3 PATCH] crypto: marvell/cesa - Do not chain submitted requests

Corentin Labbe
2025-05-08T12:53:47Z

Le Thu, May 08, 2025 at 01:22:16PM +0800, Herbert Xu a écrit :
> v3 simplifies it a little bit:
>
> ---8<---
> This driver tries to chain requests together before submitting them
> to hardware in order to reduce completion interrupts.
>
> However, it even extends chains that have already been submitted
> to hardware. This is dangerous because there is no way of knowing
> whether the hardware has already read the DMA memory in question
> or not.
>
> Fix this by splitting the chain list into two. One for submitted
> requests and one for requests that have not yet been submitted.
> Only extend the latter.
>

The board do not panic anymore, but have still selftest errors:
See the full boot log at kernel.montjoie.ovh/477935.log

Regards