mbox series

[v2,0/3] crypto: hisilicon/qm - add stop function and obtain queue status

Message ID 20240207095101.37280-1-qianweili@huawei.com
Headers show
Series crypto: hisilicon/qm - add stop function and obtain queue status | expand

Message

Weili Qian Feb. 7, 2024, 9:50 a.m. UTC
Patch #1 supports stopping function by sending mailbox to device,
device directly flush out function data.
Patch #2 supports users to obtain the queue stopping result by
querying the debug file.
Patch #3 changes function type.

Changed in v2:
 - Remove redundant check in patch#2.
 - The loop exit condition is modified to
prevent no log output when timeout.

Weili Qian (3):
  crypto: hisilicon/qm - add stop function by hardware
  crypto: hisilicon/qm - obtain stop queue status
  crypto: hisilicon/qm - change function type to void

 Documentation/ABI/testing/debugfs-hisi-hpre |  15 ++
 Documentation/ABI/testing/debugfs-hisi-sec  |  15 ++
 Documentation/ABI/testing/debugfs-hisi-zip  |  15 ++
 drivers/crypto/hisilicon/debugfs.c          |   5 +
 drivers/crypto/hisilicon/qm.c               | 184 +++++++++++++-------
 include/linux/hisi_acc_qm.h                 |  10 +-
 6 files changed, 183 insertions(+), 61 deletions(-)

Comments

Herbert Xu Feb. 17, 2024, 1:13 a.m. UTC | #1
On Wed, Feb 07, 2024 at 05:50:58PM +0800, Weili Qian wrote:
> Patch #1 supports stopping function by sending mailbox to device,
> device directly flush out function data.
> Patch #2 supports users to obtain the queue stopping result by
> querying the debug file.
> Patch #3 changes function type.
> 
> Changed in v2:
>  - Remove redundant check in patch#2.
>  - The loop exit condition is modified to
> prevent no log output when timeout.
> 
> Weili Qian (3):
>   crypto: hisilicon/qm - add stop function by hardware
>   crypto: hisilicon/qm - obtain stop queue status
>   crypto: hisilicon/qm - change function type to void
> 
>  Documentation/ABI/testing/debugfs-hisi-hpre |  15 ++
>  Documentation/ABI/testing/debugfs-hisi-sec  |  15 ++
>  Documentation/ABI/testing/debugfs-hisi-zip  |  15 ++
>  drivers/crypto/hisilicon/debugfs.c          |   5 +
>  drivers/crypto/hisilicon/qm.c               | 184 +++++++++++++-------
>  include/linux/hisi_acc_qm.h                 |  10 +-
>  6 files changed, 183 insertions(+), 61 deletions(-)
> 
> -- 
> 2.33.0

All applied.  Thanks.