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

Weili Qian posted 3 patches 1 year, 5 months ago
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(-)
[PATCH 0/3] crypto: hisilicon - fix issues related to device reset
Posted by Weili Qian 1 year, 5 months ago
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
Re: [PATCH 0/3] crypto: hisilicon - fix issues related to device reset
Posted by Herbert Xu 1 year, 5 months ago
On Sat, Aug 31, 2024 at 07:48:28PM +0800, Weili Qian wrote:
> 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

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt