linux/drivers/crypto/hisilicon
Shukun Tan 3c829d6d19 crypto: hisilicon/qm - clear used reference count when start qp
The used reference count is used for counting the number of 'sqe' which
is under processing. This reference count should be cleared as starting
'qp', otherwise the 'used' will be messy when allocating this 'qp' again.

Fixes: 5308f6600a39("crypto: hisilicon - QM memory management...")
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-08-21 14:47:51 +10:00
..
hpre crypto: hisilicon/hpre - disable FLR triggered by hardware 2020-07-16 21:49:12 +10:00
sec crypto: drivers - set the flag CRYPTO_ALG_ALLOCATES_MEMORY 2020-07-16 21:49:10 +10:00
sec2 crypto: drivers - set the flag CRYPTO_ALG_ALLOCATES_MEMORY 2020-07-16 21:49:10 +10:00
zip crypto: hisilicon/zip - permit users to specify NUMA node 2020-07-09 18:25:23 +10:00
Kconfig crypto: hisilicon/qm - add more ACPI dependencies 2020-04-22 23:28:55 +10:00
Makefile crypto: hisilicon - add HiSilicon SEC V2 driver 2019-11-22 18:48:36 +08:00
qm.c crypto: hisilicon/qm - clear used reference count when start qp 2020-08-21 14:47:51 +10:00
qm.h crypto: hisilicon/sec2 - update SEC initialization and reset 2020-07-16 21:49:01 +10:00
sgl.c crypto: hisilicon - Cap block size at 2^31 2020-06-15 17:38:53 +10:00