Loading
crypto: hisilicon/zip - optimize the address offset of the reg query function
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9NUTY CVE: NA ---------------------------------------------------------------------- Currently, the reg is queried based on the fixed address offset array. When the number of accelerator cores changes, the system can not flexibly respond to the change. Therefore, the reg to be queried is calculated based on the comp or decomp core base address. Fixes: 62c455ca ("crypto: hisilicon - add HiSilicon ZIP accelerator support") Signed-off-by:Chenghai Huang <huangchenghai2@huawei.com> Signed-off-by:
JiangShui Yang <yangjiangshui@h-partners.com>