Split a debugfs.c from qm to reduce the qm code complexity. And optimize the process of the command dumping. Some optimizations on command dumping in debugfs.c file code. changes v1->v2: - delete a redundant line. changes v2->v3: - adjusting the patch sequence. modify a comment. Kai Ye (4): crypto: hisilicon/qm - delete redundant null assignment operations crypto: hisilicon/qm - modify the process of regs dfx crypto: hisilicon/qm - split a debugfs.c from qm crypto: hisilicon/qm - the command dump process is modified drivers/crypto/hisilicon/Makefile | 2 +- drivers/crypto/hisilicon/debugfs.c | 1147 +++++++++++++++++ drivers/crypto/hisilicon/hpre/hpre_main.c | 7 +- drivers/crypto/hisilicon/qm.c | 1360 ++------------------- drivers/crypto/hisilicon/qm_common.h | 87 ++ drivers/crypto/hisilicon/sec2/sec_main.c | 7 +- drivers/crypto/hisilicon/zip/zip_main.c | 7 +- include/linux/hisi_acc_qm.h | 8 +- 8 files changed, 1356 insertions(+), 1269 deletions(-) create mode 100644 drivers/crypto/hisilicon/debugfs.c create mode 100644 drivers/crypto/hisilicon/qm_common.h -- 2.17.1