aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/sec2/sec.h
diff options
context:
space:
mode:
authorZhiqi Song <songzhiqi1@huawei.com>2023-12-02 17:17:20 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-12-08 11:59:45 +0800
commitcf8b5156bbc8c9376f699e8d35e9464b739e33ff (patch)
tree5c5611b0187505d5a4f37edd425f8e68363d91ba /drivers/crypto/hisilicon/sec2/sec.h
parentcrypto: hisilicon/qm - save capability registers in qm init process (diff)
downloadlinux-rng-cf8b5156bbc8c9376f699e8d35e9464b739e33ff.tar.xz
linux-rng-cf8b5156bbc8c9376f699e8d35e9464b739e33ff.zip
crypto: hisilicon/hpre - save capability registers in probe process
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: f214d59a0603 ("crypto: hisilicon/hpre - support hpre capability") Signed-off-by: Zhiqi Song <songzhiqi1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/sec2/sec.h')
0 files changed, 0 insertions, 0 deletions