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.h -- 2.8.1