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

Weili Qian posted 3 patches 1 year, 10 months ago
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(-)
[PATCH v2 0/3] crypto: hisilicon/qm - add stop function and obtain queue status
Posted by Weili Qian 1 year, 10 months ago
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
Re: [PATCH v2 0/3] crypto: hisilicon/qm - add stop function and obtain queue status
Posted by Herbert Xu 1 year, 10 months ago
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.
-- 
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