summaryrefslogtreecommitdiff
path: root/arch/s390/crypto
diff options
context:
space:
mode:
authorZhiqi Song <songzhiqi1@huawei.com>2023-12-02 12:17:22 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-12-08 06:59:45 +0300
commit2ff0ad847951d61c2d8b309e1ccefb26c57dcc7b (patch)
treea57c99ed228b5fe6446c03a438f0b4d0bc1acece /arch/s390/crypto
parentf1115b0096c3163592e04e74f5a7548c25bda957 (diff)
downloadlinux-2ff0ad847951d61c2d8b309e1ccefb26c57dcc7b.tar.xz
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: db700974b69d ("crypto: hisilicon/zip - support zip capability") Signed-off-by: Zhiqi Song <songzhiqi1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/s390/crypto')
0 files changed, 0 insertions, 0 deletions