mbox series

[v2,0/4] crypto: hisilicon - Refactor find device related code

Message ID 1583829772-53372-1-git-send-email-tanshukun1@huawei.com (mailing list archive)
Headers show
Series crypto: hisilicon - Refactor find device related code | expand

Message

Shukun Tan March 10, 2020, 8:42 a.m. UTC
By binding device finding with create QP logic to fix the bug of creating
QP failure occasionally. Then, merge the find device related code into
qm.c to reduce redundancy.

This series depends upon this patchset:
https://lore.kernel.org/linux-crypto/1583373985-718-1-git-send-email-xuzaibo@huawei.com/

Changes v1 -> v2:
	- Fix bug of compile when disable NUMA config.

Hui Tang (1):
  crypto: hisilicon/hpre - Optimize finding hpre device process

Kai Ye (1):
  crypto: hisilicon/sec2 - Add new create qp process

Shukun Tan (1):
  crypto: hisilicon/zip - Use hisi_qm_alloc_qps_node() when init ctx

Weili Qian (1):
  crypto: hisilicon/qm - Put device finding logic into QM

 drivers/crypto/hisilicon/hpre/hpre.h        |   3 +-
 drivers/crypto/hisilicon/hpre/hpre_crypto.c |  20 ++---
 drivers/crypto/hisilicon/hpre/hpre_main.c   |  52 +++---------
 drivers/crypto/hisilicon/qm.c               | 125 ++++++++++++++++++++++++++++
 drivers/crypto/hisilicon/qm.h               |  31 +++++++
 drivers/crypto/hisilicon/sec2/sec.h         |   5 +-
 drivers/crypto/hisilicon/sec2/sec_crypto.c  |  17 ++--
 drivers/crypto/hisilicon/sec2/sec_main.c    |  81 +++++++-----------
 drivers/crypto/hisilicon/zip/zip.h          |   2 +-
 drivers/crypto/hisilicon/zip/zip_crypto.c   |  54 ++++++------
 drivers/crypto/hisilicon/zip/zip_main.c     |  92 ++------------------
 11 files changed, 252 insertions(+), 230 deletions(-)

Comments

Herbert Xu March 20, 2020, 3:50 a.m. UTC | #1
On Tue, Mar 10, 2020 at 04:42:48PM +0800, Shukun Tan wrote:
> By binding device finding with create QP logic to fix the bug of creating
> QP failure occasionally. Then, merge the find device related code into
> qm.c to reduce redundancy.
> 
> This series depends upon this patchset:
> https://lore.kernel.org/linux-crypto/1583373985-718-1-git-send-email-xuzaibo@huawei.com/
> 
> Changes v1 -> v2:
> 	- Fix bug of compile when disable NUMA config.
> 
> Hui Tang (1):
>   crypto: hisilicon/hpre - Optimize finding hpre device process
> 
> Kai Ye (1):
>   crypto: hisilicon/sec2 - Add new create qp process
> 
> Shukun Tan (1):
>   crypto: hisilicon/zip - Use hisi_qm_alloc_qps_node() when init ctx
> 
> Weili Qian (1):
>   crypto: hisilicon/qm - Put device finding logic into QM
> 
>  drivers/crypto/hisilicon/hpre/hpre.h        |   3 +-
>  drivers/crypto/hisilicon/hpre/hpre_crypto.c |  20 ++---
>  drivers/crypto/hisilicon/hpre/hpre_main.c   |  52 +++---------
>  drivers/crypto/hisilicon/qm.c               | 125 ++++++++++++++++++++++++++++
>  drivers/crypto/hisilicon/qm.h               |  31 +++++++
>  drivers/crypto/hisilicon/sec2/sec.h         |   5 +-
>  drivers/crypto/hisilicon/sec2/sec_crypto.c  |  17 ++--
>  drivers/crypto/hisilicon/sec2/sec_main.c    |  81 +++++++-----------
>  drivers/crypto/hisilicon/zip/zip.h          |   2 +-
>  drivers/crypto/hisilicon/zip/zip_crypto.c   |  54 ++++++------
>  drivers/crypto/hisilicon/zip/zip_main.c     |  92 ++------------------
>  11 files changed, 252 insertions(+), 230 deletions(-)

All applied.  Thanks.