crypto: hisilicon/qm - add stop function by hardware
authorWeili Qian <qianweili@huawei.com>
Wed, 7 Feb 2024 09:50:59 +0000 (17:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 17 Feb 2024 01:09:16 +0000 (09:09 +0800)
commit12b8ae68f50de200c038246c2496822f38b18fe2
tree0248d5e0d84ecfe360f8fa3b180ee49efe2199a5
parent6e031ef2c201cea07bea3b286ed151378c4099f3
crypto: hisilicon/qm - add stop function by hardware

Hardware V3 could be able to drain function by sending mailbox
to hardware which will trigger tasks in device to be flushed out.
When the function is reset, the function can be stopped by this way.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
include/linux/hisi_acc_qm.h