linux/drivers/crypto/hisilicon
Weili Qian 7ed8390132 crypto: hisilicon/qm - add stop queue by hardware
Kunpeng930 could be able to stop queue by writing hardware registers,
which will trigger tasks in device to be flushed out.

In order to be compatible with the kunpeng920 driver, add 'qm_hw_ops_v3' to
adapt Kunpeng930. And 'stop_qp' callback is added in 'qm_hw_ops_v3' to
write hardware registers. Call 'stop_qp' to drain the tasks in device
before releasing queue.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Reviewed-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-04-16 21:16:31 +10:00
..
hpre crypto: hisilicon/hpre - fix a typo in hpre_crypto.c 2021-04-09 17:41:06 +10:00
sec crypto: hisilicon - use the correct HiSilicon copyright 2021-04-02 18:28:12 +11:00
sec2 crypto: hisilicon/sec - fixup checking the 3DES weak key 2021-04-09 17:45:13 +10:00
trng crypto: hisilicon/trng - replace atomic_add_return() 2020-12-11 21:12:05 +11:00
zip crypto: hisilicon/zip - support new 'sqe' type in Kunpeng930 2021-04-02 18:28:13 +11:00
Kconfig crypto: hisilicon/hpre - fix Kconfig 2021-03-26 20:15:57 +11:00
Makefile crypto: hisilicon/trng - add HiSilicon TRNG driver support 2020-11-27 17:13:43 +11:00
qm.c crypto: hisilicon/qm - add stop queue by hardware 2021-04-16 21:16:31 +10:00
qm.h crypto: hisilicon/qm - add queue isolation support for Kunpeng930 2021-03-26 20:15:58 +11:00
sgl.c crypto: hisilicon - Fix doc warnings in sgl.c and qm.c 2020-10-30 17:34:45 +11:00