linux/drivers/crypto/hisilicon
Chenghai Huang b74fd80d7f crypto: hisilicon/qm - fix incorrect judgment in qm_get_complete_eqe_num()
In qm_get_complete_eqe_num(), the function entry has already
checked whether the interrupt is valid, so the interrupt event
can be processed directly. Currently, the interrupt valid bit is
being checked again redundantly, and no interrupt processing is
performed. Therefore, the loop condition should be modified to
directly process the interrupt event, and use do while instead of
the current while loop, because the condition is always satisfied
on the first iteration.

Fixes: f5a332980a ("crypto: hisilicon/qm - add the save operation of eqe and aeqe")
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-12-19 14:47:46 +08:00
..
hpre This update includes the following changes: 2025-10-04 14:59:29 -07:00
sec crypto: hisilicon/sec - Use int type to store negative error codes 2025-09-13 12:11:06 +08:00
sec2 crypto: hisilicon - enable error reporting again 2025-09-20 20:21:04 +08:00
trng crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
zip crypto: hisilicon - enable error reporting again 2025-09-20 20:21:04 +08:00
debugfs.c crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs 2025-09-20 20:21:04 +08:00
Kconfig crypto: hisilicon/hpre - Remove unused curve25519 kpp support 2025-09-06 14:45:49 -07:00
Makefile hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
qm.c crypto: hisilicon/qm - fix incorrect judgment in qm_get_complete_eqe_num() 2025-12-19 14:47:46 +08:00
qm_common.h crypto: hisilicon/qm - simplify the status of qm 2023-12-01 18:03:26 +08:00
sgl.c crypto: hisilicon/sgl - remove unnecessary checks for curr_hw_sgl error 2025-10-31 17:50:43 +08:00