]> Gentwo Git Trees - linux/.git/commit
crypto: hisilicon - re-enable address prefetch after device resuming
authorChenghai Huang <huangchenghai2@huawei.com>
Thu, 21 Aug 2025 01:38:05 +0000 (09:38 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 30 Aug 2025 07:43:26 +0000 (15:43 +0800)
commit0dcd21443d9308ed88909d35aa0490c3fc680a47
tree92fbd2768fad3f529703fdc6a1b320a29fe493c3
parentd4e081510471e79171c4e0a11f6cb608e49bc082
crypto: hisilicon - re-enable address prefetch after device resuming

When the device resumes from a suspended state, it will revert to its
initial state and requires re-enabling. Currently, the address prefetch
function is not re-enabled after device resuming. Move the address prefetch
enable to the initialization process. In this way, the address prefetch
can be enabled when the device resumes by calling the initialization
process.

Fixes: 607c191b371d ("crypto: hisilicon - support runtime PM for accelerator device")
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip_main.c