Messages in this thread | | | Date | Fri, 4 Aug 2023 12:35:32 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH] crypto: caam: use dma align for crypt tfm ctx |
| |
On Thu, Aug 03, 2023 at 03:59:01PM +0530, Gaurav Jain wrote: > enginectx is not set when use crypto_tfm_ctx. > fixing this by modifying to crypto_tfm_ctx_dma > > Fixes: 4cb4f7c11dee ("crypto: caam - Set DMA alignment explicitly") > Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com> > --- > crypto/crypto_engine.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for catching this. Unfortunately this fix will break other drivers that do not use ctx_dma.
I'll try to fix by getting rid of enginectx.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |