Add support controller reset for ZIP/HPRE/SEC drivers, put the main implementation into QM. Meanwhile modified the logic of the queue stop judgment. This series depends upon: https://patchwork.kernel.org/cover/11470171/ Hui Tang (1): crypto: hisilicon/hpre - add controller reset support for HPRE Shukun Tan (2): crypto: hisilicon/qm - add controller reset interface crypto: hisilicon/zip - add controller reset support for zip Yang Shen (2): crypto: hisilicon/sec2 - add controller reset support for SEC2 crypto: hisilicon/qm - stop qp by judging sq and cq tail drivers/crypto/hisilicon/hpre/hpre_main.c | 46 ++- drivers/crypto/hisilicon/qm.c | 667 +++++++++++++++++++++++++++++- drivers/crypto/hisilicon/qm.h | 16 + drivers/crypto/hisilicon/sec2/sec_main.c | 40 +- drivers/crypto/hisilicon/zip/zip_main.c | 57 ++- 5 files changed, 790 insertions(+), 36 deletions(-) -- 2.7.4