summaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2024-08-31 14:48:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-09-06 09:50:46 +0300
commitb04f06fc0243600665b3b50253869533b7938468 (patch)
tree222fd57abea9dc658cf9a94eeeeee9bb5fda0d3c /crypto/api.c
parent145013f723947c83b1a5f76a0cf6e7237d59e973 (diff)
downloadlinux-b04f06fc0243600665b3b50253869533b7938468.tar.xz
crypto: hisilicon/qm - inject error before stopping queue
The master ooo cannot be completely closed when the accelerator core reports memory error. Therefore, the driver needs to inject the qm error to close the master ooo. Currently, the qm error is injected after stopping queue, memory may be released immediately after stopping queue, causing the device to access the released memory. Therefore, error is injected to close master ooo before stopping queue to ensure that the device does not access the released memory. Fixes: 6c6dd5802c2d ("crypto: hisilicon/qm - add controller reset interface") Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions