Re: [PATCH v5 0/2] crypto: qat - fix couple crashes duing error handling

2021-03-26 Thread Herbert Xu
On Thu, Mar 18, 2021 at 11:39:58PM -0400, Tong Zhang wrote:
> There are a couple of issues in qat error handling. Those drivers tries to
> release resources that is not initialized. This patch series tries to fix
> crashes caused by incorrect error handling.
> 
> v2: removed excessive dump in commit log as suggested by Andy Shevchenko 
> 
> v3: collect tags as suggested by Andy Shevchenko 
> v4: fix commit log typos
> v5: fix headline
> 
> Tong Zhang (2):
>   crypto: qat - don't release uninitialized resources
>   crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
> 
>  drivers/crypto/qat/qat_c3xxxvf/adf_drv.c|  4 ++--
>  drivers/crypto/qat/qat_c62xvf/adf_drv.c |  4 ++--
>  drivers/crypto/qat/qat_common/adf_vf_isr.c  | 17 +
>  drivers/crypto/qat/qat_dh895xccvf/adf_drv.c |  4 ++--
>  4 files changed, 19 insertions(+), 10 deletions(-)

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


[PATCH v5 0/2] crypto: qat - fix couple crashes duing error handling

2021-03-18 Thread Tong Zhang
There are a couple of issues in qat error handling. Those drivers tries to
release resources that is not initialized. This patch series tries to fix
crashes caused by incorrect error handling.

v2: removed excessive dump in commit log as suggested by Andy Shevchenko 

v3: collect tags as suggested by Andy Shevchenko 
v4: fix commit log typos
v5: fix headline

Tong Zhang (2):
  crypto: qat - don't release uninitialized resources
  crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init

 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c|  4 ++--
 drivers/crypto/qat/qat_c62xvf/adf_drv.c |  4 ++--
 drivers/crypto/qat/qat_common/adf_vf_isr.c  | 17 +
 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c |  4 ++--
 4 files changed, 19 insertions(+), 10 deletions(-)

-- 
2.25.1