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

Kai Ye posted 4 patches 3 years, 4 months ago
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
[PATCH v3 0/4] crypto: hisilicon/qm - reconstruct and optimize the debugfs code
Posted by Kai Ye 3 years, 4 months ago
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
Re: [PATCH v3 0/4] crypto: hisilicon/qm - reconstruct and optimize the debugfs code
Posted by Herbert Xu 3 years, 4 months ago
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.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt