OpenCloudOS-Kernel/drivers/crypto/hisilicon/hpre
Zhiqi Song e8d4877e5c crypto: hisilicon/hpre - save capability registers in probe process
[ Upstream commit cf8b5156bbc8c9376f699e8d35e9464b739e33ff ]

Pre-store the valid value of hpre alg support related capability
register in hpre_qm_init(), which will be called by hpre_probe().
It can reduce the number of capability register queries and avoid
obtaining incorrect values in abnormal scenarios, such as reset
failed and the memory space disabled.

Fixes: f214d59a06 ("crypto: hisilicon/hpre - support hpre capability")
Signed-off-by: Zhiqi Song <songzhiqi1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:35:17 -08:00
..
Makefile
hpre.h crypto: hisilicon/hpre - support hpre capability 2022-09-16 18:29:45 +08:00
hpre_crypto.c crypto: hisilicon/hpre - ensure private key less than n 2023-07-20 22:16:26 +12:00
hpre_main.c crypto: hisilicon/hpre - save capability registers in probe process 2024-01-25 15:35:17 -08:00