OpenCloudOS-Kernel/drivers/crypto/hisilicon
Zhiqi Song 52f0b4a30f crypto: hisilicon/zip - save capability registers in probe process
[ Upstream commit 2ff0ad847951d61c2d8b309e1ccefb26c57dcc7b ]

Pre-store the valid value of the zip alg support related capability
register in hisi_zip_qm_init(), which will be called by hisi_zip_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: db700974b6 ("crypto: hisilicon/zip - support zip 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
..
hpre crypto: hisilicon/hpre - save capability registers in probe process 2024-01-25 15:35:17 -08:00
sec crypto: hisilicon/sec - Do not check for 0 return after calling platform_get_irq() 2023-08-11 19:19:27 +08:00
sec2 crypto: hisilicon/sec2 - save capability registers in probe process 2024-01-25 15:35:17 -08:00
trng hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
zip crypto: hisilicon/zip - save capability registers in probe process 2024-01-25 15:35:17 -08:00
Kconfig hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
Makefile hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
debugfs.c crypto: hisilicon/qm - the command dump process is modified 2022-11-18 17:00:22 +08:00
qm.c crypto: hisilicon/qm - add a function to set qm algs 2024-01-25 15:35:17 -08:00
qm_common.h crypto: hisilicon/qm - fix PF queue parameter issue 2023-11-20 11:59:20 +01:00
sgl.c mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00