diff options
| author | Zhiqi Song <[email protected]> | 2023-12-02 17:17:20 +0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-12-08 11:59:45 +0800 |
| commit | cf8b5156bbc8c9376f699e8d35e9464b739e33ff (patch) | |
| tree | 5c5611b0187505d5a4f37edd425f8e68363d91ba /tools/perf/scripts/python | |
| parent | cabe13d0bd2efb8dd50ed2310f57b33e1a69a0d4 (diff) | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions