crypto: octeontx2 - Set DMA alignment explicitly
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Dec 2022 09:21:03 +0000 (17:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Dec 2022 10:45:00 +0000 (18:45 +0800)
commitd887dec105cdeda6b8da0e84d96c7a07d80269bc
tree78172cc4cd049e224e0f01c846aac43b65b4a978
parent0a55f4e38556f7e59b0f30fac0751e3a04be44c2
crypto: octeontx2 - Set DMA alignment explicitly

This driver has been implicitly relying on kmalloc alignment
to be sufficient for DMA.  This may no longer be the case with
upcoming arm64 changes.

This patch changes it to explicitly request DMA alignment from
the Crypto API.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c