Re: [PATCH] crypto: marvell/cesa - Avoid empty transfer descriptor

Herbert Xu
2025-05-18T07:59:08Z

On Sat, May 17, 2025 at 01:24:44PM +0200, Corentin Labbe wrote:
>
> Your patch didnt apply cleanly on cryptodev/master in tdma.c
> I have fixed at hand and the result is:
> http://kernel.montjoie.ovh/478852.log

Hah my debug patch was broken. It didn't take into account the
partial block when recalculating the hash with the fallback.

However, this seems to suggest that my hunch was incorrect. The
partial hash wasn't being corrupted and it's actually the final
calculation that was wrong.

This could be good news. Because if it is a hardware bug causing
this, then the final calculation can be easily worked around by
turning the final hash into a partial update.

Let me crank out a debugging patch for that.

Thanks,