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
On 2019/9/30 15:08, Zhou Wang wrote:
> 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
Any comments for this series?
Best,
Zhou
>
> 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
>
On Mon, Sep 30, 2019 at 03:08:51PM +0800, Zhou Wang wrote:
> 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
All applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
On 2019/10/10 20:54, Herbert Xu wrote:
> On Mon, Sep 30, 2019 at 03:08:51PM +0800, Zhou Wang wrote:
>> 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
>
> All applied. Thanks.
Thanks.
Best,
Zhou
>