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