]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon/qm - place the interrupt status interface after the PM usage counter
authorZhushuai Yin <yinzhushuai@huawei.com>
Mon, 18 May 2026 14:29:52 +0000 (22:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 May 2026 05:54:43 +0000 (13:54 +0800)
commit789fc74a220b33bb21257c707467985aac536ecd
tree8253a1639d34aa771c496afec45ea4d6f8375edc
parente054cdee673181622bc12f2b5049134ecbc2eeb1
crypto: hisilicon/qm - place the interrupt status interface after the PM usage counter

To avoid accessing memory of a suspended device, and since the counter
interface used by PM involves sleep operations, the counter interface
cannot be placed in the interrupt top half. Therefore, the interface for
acquiring the interrupt status in the RAS reset flow that resides in the
interrupt context needs to be moved to the bottom half for processing.

Signed-off-by: Zhushuai Yin <yinzhushuai@huawei.com>
Signed-off-by: Zongyu Wu <wuzongyu1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
include/linux/hisi_acc_qm.h