]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon - check the sva module status while enabling or disabling address...
authorWeili Qian <qianweili@huawei.com>
Thu, 21 Aug 2025 01:38:06 +0000 (09:38 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 30 Aug 2025 07:43:26 +0000 (15:43 +0800)
commit1f9128f121a872f27251be60ccccfd98c136d72e
treeb555dc8ee028a52e7ca730a3cc0a15d36a4e0e98
parent0dcd21443d9308ed88909d35aa0490c3fc680a47
crypto: hisilicon - check the sva module status while enabling or disabling address prefetch

After enabling address prefetch, check the sva module status. If all
previous prefetch requests from the sva module are not completed, then
disable the address prefetch to ensure normal execution of new task
operations. After disabling address prefetch, check if all requests
from the sva module have been completed.

Fixes: a5c164b195a8 ("crypto: hisilicon/qm - support address prefetching")
Signed-off-by: Weili Qian <qianweili@huawei.com>
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/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip_main.c