linux/drivers/crypto/hisilicon
Kai Ye 0b5e43bc12 crypto: hisilicon/sec2 - Add new create qp process
Combine found device and created qp into one operation instead of found
device and create qp both are independent operations. when execute
multiple tasks, the different threads may find same device at the same
time, but the number of queues is insufficient on the device. causing
one of threads fail to create a qp. Now fix this, First find device then
create qp, if result failure. the current thread will find next device.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-03-20 14:36:50 +11:00
..
hpre crypto: hisilicon/hpre - Optimize finding hpre device process 2020-03-20 14:36:50 +11:00
sec crypto: hisilicon - Matching the dma address for dma_pool_free() 2019-09-20 22:53:09 +10:00
sec2 crypto: hisilicon/sec2 - Add new create qp process 2020-03-20 14:36:50 +11:00
zip crypto: hisilicon/zip - Use hisi_qm_alloc_qps_node() when init ctx 2020-03-20 14:36:50 +11:00
Kconfig crypto: hisilicon - qm depends on UACCE 2020-03-06 12:28:24 +11:00
Makefile crypto: hisilicon - add HiSilicon SEC V2 driver 2019-11-22 18:48:36 +08:00
qm.c crypto: hisilicon/qm - Put device finding logic into QM 2020-03-20 14:36:50 +11:00
qm.h crypto: hisilicon/qm - Put device finding logic into QM 2020-03-20 14:36:50 +11:00
sgl.c crypto: hisilicon - Remove useless MODULE macros 2019-12-11 16:34:45 +08:00