crypto: hisilicon/sgl - align the hardware sgl dma address
authorYang Shen <shenyang39@huawei.com>
Sat, 9 Apr 2022 09:33:09 +0000 (17:33 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:34:30 +0000 (16:34 +0800)
commit948e35f13181a8ee85ca5b8cf50248746dfc6291
treea880ef62dacfc5a4b1f0ebe4b42829b49662398d
parent5bfabd50c6fa7fe817e492091fa9428a9202a045
crypto: hisilicon/sgl - align the hardware sgl dma address

The hardware needs aligned sgl dma address. So expend the sgl_size to
align 64 bytes.

Signed-off-by: Yang Shen <shenyang39@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sgl.c