mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: qat: fix couple crashes duing error handling
@ 2021-03-12  7:43 Tong Zhang
  2021-03-12  7:43 ` [PATCH 1/2] crypto: qat - dont release uninitialized resources Tong Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tong Zhang @ 2021-03-12  7:43 UTC (permalink / raw)
  To: Giovanni Cabiddu, Herbert Xu, David S. Miller, Wojciech Ziemba,
	Andy Shevchenko, Fiona Trahe, Tong Zhang, qat-linux,
	linux-crypto, linux-kernel

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.

Tong Zhang (2):
  crypto: qat - dont 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-12 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12  7:43 [PATCH 0/2] crypto: qat: fix couple crashes duing error handling Tong Zhang
2021-03-12  7:43 ` [PATCH 1/2] crypto: qat - dont release uninitialized resources Tong Zhang
2021-03-12  7:43 ` [PATCH 2/2] crypto: qat: ADF_STATUS_PF_RUNNING should be set after adf_dev_init Tong Zhang
2021-03-12  8:55   ` Andy Shevchenko
2021-03-12 14:20     ` Tong Zhang
2021-03-12 11:32 ` [PATCH 0/2] crypto: qat: fix couple crashes duing error handling Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome