crypto: hisilicon/hpre - save capability registers in probe process
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8KHDV CVE: NA ---------------------------------------------------------------------- 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. Signed-off-by:Zhiqi Song <songzhiqi1@huawei.com> Signed-off-by:
JiangShui Yang <yangjiangshui@h-partners.com>
Loading
Please sign in to comment