]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: hisilicon/qm - invalidate queues in use
authorWeili Qian <qianweili@huawei.com>
Sat, 13 Sep 2025 10:57:50 +0000 (18:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 20 Sep 2025 12:21:03 +0000 (20:21 +0800)
commit85acd1b26b8f5b838887dc965dc3aa2c0253f4d1
treeae45e5eabb7fe04b412b7378e0299d2d40aebfc4
parent5ce9891ea928208a915411ce8227f8c3e37e5ad9
crypto: hisilicon/qm - invalidate queues in use

Before the device reset, although the driver has set the queue
status to intercept doorbells sent by the task process, the reset
thread is isolated from the user-mode task process, so the task process
may still send doorbells. Therefore, before the reset, the queue is
directly invalidated, and the device directly discards the doorbells
sent by the process.

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/qm.c