Re: [PATCH] crypto: hisilicon/qm - disable same error report before resetting
From: Herbert Xu
Date: Sat Nov 02 2024 - 06:27:46 EST
On Sat, Oct 26, 2024 at 07:44:29PM +0800, Weili Qian wrote:
> If an error indicating that the device needs to be reset is reported,
> disable the error reporting before device reset is complete,
> enable the error reporting after the reset is complete to prevent
> the same error from being reported repeatedly.
>
> Fixes: eaebf4c3b103 ("crypto: hisilicon - Unify hardware error init/uninit into QM")
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/hpre/hpre_main.c | 35 ++++++++++++++---
> drivers/crypto/hisilicon/qm.c | 47 +++++++----------------
> drivers/crypto/hisilicon/sec2/sec_main.c | 35 ++++++++++++++---
> drivers/crypto/hisilicon/zip/zip_main.c | 35 ++++++++++++++---
> include/linux/hisi_acc_qm.h | 8 +++-
> 5 files changed, 110 insertions(+), 50 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt