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. 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 | 171 +++++++++++++------- include/linux/hisi_acc_qm.h | 18 ++- 6 files changed, 179 insertions(+), 60 deletions(-) -- 2.33.0