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. 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(-) -- 2.7.4