[PATCH 0/3] crypto: hisilicon - fix issues related to device reset

From: Weili Qian
Date: Sat Aug 31 2024 - 07:52:34 EST


This set fixes some issues related to device reset:
1. Before enabling the device, reset the device to ensure that
the device is in the initial state.
2. Mask device task timeout error because the current device
timeout threshold is too short.
3. Memory error is injected to close master ooo to prevent the
device write the released memory.

Weili Qian (3):
crypto: hisilicon/qm - reset device before enabling it
crypto: hisilicon/hpre - mask cluster timeout error
crypto: hisilicon/qm - inject error before stopping queue

drivers/crypto/hisilicon/hpre/hpre_main.c | 54 ++++----
drivers/crypto/hisilicon/qm.c | 151 ++++++++++++++--------
drivers/crypto/hisilicon/sec2/sec_main.c | 16 +--
drivers/crypto/hisilicon/zip/zip_main.c | 23 ++--
4 files changed, 146 insertions(+), 98 deletions(-)

--
2.33.0