mbox series

[v3,0/4] crypto: hisilicon/qm - reconstruct and optimize the debugfs code

Message ID 20221112021253.34862-1-yekai13@huawei.com
Headers show
Series crypto: hisilicon/qm - reconstruct and optimize the debugfs code | expand

Message

yekai (A) Nov. 12, 2022, 2:12 a.m. UTC
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

Comments

Herbert Xu Nov. 18, 2022, 9:17 a.m. UTC | #1
On Sat, Nov 12, 2022 at 02:12:49AM +0000, Kai Ye wrote:
> 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

All applied.  Thanks.