crypto: hisilicon/qm - set the total number of queues
authorWeili Qian <qianweili@huawei.com>
Sat, 20 Mar 2021 11:27:43 +0000 (19:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Mar 2021 09:15:57 +0000 (20:15 +1100)
commit45bb26d946cd89c08e6b8410a76b9bf3614c9d78
tree8750e5d304616aabc83a3cc7f9eed024301b05cb
parent7d15697983c720c4405ce47b30520d0c7dd47487
crypto: hisilicon/qm - set the total number of queues

Move the configuration of the total number of queues 'ctrl_qp_num'
from sec2/hpre/zip to qm.c. And get the total number of queues
from the hardware register for Kunpeng930.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip_main.c