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

From: Herbert Xu
Date: Fri May 16 2025 - 00:12:42 EST


On Thu, May 15, 2025 at 07:53:03PM +0200, Klaus Kudielka wrote:
>
> Okay, so now I have two printk patches on top of the current cryptodev tree.
>
> I have enabled CRYPTO_SELFTESTS
>
> - Three successful reboot / modprobe marvell-cesa. All self-tests passed.
> - But the whole self-tests sequence now take approx. 2 minutes, instead of 15 seconds with plain v6.15-rc5
> - And the journal gets huge. 24k lines. I am attaching a gzipped version, hope this works.

Something doesn't look right. There are zero ahash lines in your
dmesg. IOW all the output was from skcipher tests alone.

That could explain why ahash appears to be working.

What does /proc/crypto show after boot-up? Do the cesa ahash
algorithms show up as tested in there?

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt