linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] crypto: hisilicon: misc sgl fixes
@ 2019-09-30  7:08 Zhou Wang
  2019-09-30  7:08 ` [PATCH 1/4] crypto: hisilicon - merge sgl support to hisi_qm module Zhou Wang
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Zhou Wang @ 2019-09-30  7:08 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller; +Cc: linux-crypto, linuxarm, Zhou Wang

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-11  2:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-30  7:08 [PATCH 0/4] crypto: hisilicon: misc sgl fixes Zhou Wang
2019-09-30  7:08 ` [PATCH 1/4] crypto: hisilicon - merge sgl support to hisi_qm module Zhou Wang
2019-09-30  7:08 ` [PATCH 2/4] crypto: hisilicon - add sgl_sge_nr module param for zip Zhou Wang
2019-09-30  7:08 ` [PATCH 3/4] crypto: hisilicon - fix large sgl memory allocation problem when disable smmu Zhou Wang
2019-09-30  7:08 ` [PATCH 4/4] crypto: hisilicon - misc fix about sgl Zhou Wang
2019-10-10  8:21 ` [PATCH 0/4] crypto: hisilicon: misc sgl fixes Zhou Wang
2019-10-10 12:54 ` Herbert Xu
2019-10-11  2:15   ` Zhou Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).