Re: [PATCH 0/4] crypto: hisilicon: misc sgl fixes
flat view
From: Zhou Wang <wangzhou1@hisilicon.com>
Date: 2019-10-11 02:16:02
On 2019/10/10 20:54, Herbert Xu wrote:
On Mon, Sep 30, 2019 at 03:08:51PM +0800, Zhou Wang wrote:quoted
This series fixes some preblems in sgl code. The main change is merging sgl code into hisi_qm module. These problem are also fixed: - Let user driver to pass the configure of sge number in one sgl when creating hardware sgl resources. - When disabling SMMU, it may fail to allocate large continuous memory. We fixes this by allocating memory by blocks. This series is based on Arnd's patch: https://lkml.org/lkml/2019/9/19/455 Shunkun Tan (1): crypto: hisilicon - add sgl_sge_nr module param for zip Zhou Wang (3): crypto: hisilicon - merge sgl support to hisi_qm module crypto: hisilicon - fix large sgl memory allocation problem when disable smmu crypto: hisilicon - misc fix about sgl MAINTAINERS | 1 - drivers/crypto/hisilicon/Kconfig | 9 -- drivers/crypto/hisilicon/Makefile | 4 +- drivers/crypto/hisilicon/qm.h | 13 +++ drivers/crypto/hisilicon/sgl.c | 182 +++++++++++++++++++----------- drivers/crypto/hisilicon/sgl.h | 24 ---- drivers/crypto/hisilicon/zip/zip.h | 1 - drivers/crypto/hisilicon/zip/zip_crypto.c | 44 ++++++-- 8 files changed, 167 insertions(+), 111 deletions(-) delete mode 100644 drivers/crypto/hisilicon/sgl.hAll applied. Thanks.
Thanks. Best, Zhou