]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 09:56:31 +0000 (11:56 +0200)
commit9e12adcc8ffa7dcb541a0af503a8b585671e79db
treec65724ec95af91f67b66ba8590721ab83859d7d1
parent9068f3114f8239b78eaf2c52740929db457dc836
crypto: hisilicon - re-enable address prefetch after device resuming

[ Upstream commit 0dcd21443d9308ed88909d35aa0490c3fc680a47 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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