crypto: hisilicon/hpre - Set DMA alignment explicitly
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Dec 2022 09:20:55 +0000 (17:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Dec 2022 10:45:00 +0000 (18:45 +0800)
commit80b61baca4c8698139881f41473e652bedc65a73
tree5446027bdb0a02e1ddfa729e7c03f33d39b25147
parente055bffaa390042d73fed56a0ef9bfe71a675614
crypto: hisilicon/hpre - 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/hisilicon/hpre/hpre_crypto.c