Re: [REGRESSION] alg: ahash: Several tests fail during boot on Turris Omnia
From: Herbert Xu
Date: Thu Oct 10 2024 - 04:44:29 EST
On Thu, Oct 10, 2024 at 02:05:56PM +0800, Herbert Xu wrote:
>
> Is it really OK to add new entries to the chain after it has been
> given over to the hardware?
Please give this patch a try to see if it improves the hashing.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/drivers/crypto/marvell/cesa/tdma.c b/drivers/crypto/marvell/cesa/tdma.c
index 388a06e180d6..0de99fa6c1f5 100644
--- a/drivers/crypto/marvell/cesa/tdma.c
+++ b/drivers/crypto/marvell/cesa/tdma.c
@@ -113,6 +113,7 @@ void mv_cesa_tdma_chain(struct mv_cesa_engine *engine,
* the request.
*/
if (!(last->flags & CESA_TDMA_BREAK_CHAIN) &&
+ 0 &&
!(dreq->chain.first->flags & CESA_TDMA_SET_STATE))
last->next_dma = cpu_to_le32(dreq->chain.first->cur_dma);
}