diff options
author | Weili Qian <qianweili@huawei.com> | 2024-08-31 14:48:31 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-09-06 09:50:46 +0300 |
commit | b04f06fc0243600665b3b50253869533b7938468 (patch) | |
tree | 222fd57abea9dc658cf9a94eeeeee9bb5fda0d3c /crypto/api.c | |
parent | 145013f723947c83b1a5f76a0cf6e7237d59e973 (diff) | |
download | linux-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