linux/drivers/crypto/hisilicon
Zhiqi Song 2ff0ad8479 crypto: hisilicon/zip - save capability registers in probe process
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>
2023-12-08 11:59:45 +08:00
..
hpre crypto: hisilicon/hpre - save capability registers in probe process 2023-12-08 11:59:45 +08:00
sec crypto: hisilicon/sec - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
sec2 crypto: hisilicon/sec2 - save capability registers in probe process 2023-12-08 11:59:45 +08:00
trng crypto: hisilicon/trng - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
zip crypto: hisilicon/zip - save capability registers in probe process 2023-12-08 11:59:45 +08:00
debugfs.c crypto: hisilicon/qm - simplify the status of qm 2023-12-01 18:03:26 +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
qm_common.h crypto: hisilicon/qm - simplify the status of qm 2023-12-01 18:03:26 +08:00
qm.c crypto: hisilicon/qm - save capability registers in qm init process 2023-12-08 11:59:45 +08:00
sgl.c crypto: hisilicon/sgl - small cleanups for sgl.c 2023-12-01 18:03:26 +08:00