linux/drivers/crypto/intel/qat
Harshita Bhilwaria 961ac9d97b crypto: qat - fix duplicate restarting msg during AER error
The restarting message from PF to VF is sent twice during AER error
handling: once from adf_error_detected() and again from
adf_disable_sriov().
This causes userspace subservices to shutdown unexpectedly when they
receive a duplicate restarting message after already being restarted.

Avoid calling adf_pf2vf_notify_restarting() and
adf_pf2vf_wait_for_restarting_complete() from adf_error_detected() so
that the restarting msg is sent only once from PF to VF.

Fixes: 9567d3dc76 ("crypto: qat - improve aer error reset handling")
Signed-off-by: Harshita Bhilwaria <harshita.bhilwaria@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Ravikumar PM <ravikumar.pm@intel.com>
Reviewed-by: Srikanth Thokala <srikanth.thokala@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-12-29 08:44:14 +08:00
..
qat_4xxx crypto: qat - add get_svc_slice_cnt() in device data structure 2025-07-18 20:52:00 +10:00
qat_6xxx crypto: qat - enable rate limiting feature for GEN6 devices 2025-07-18 20:52:00 +10:00
qat_420xx crypto: qat - add get_svc_slice_cnt() in device data structure 2025-07-18 20:52:00 +10:00
qat_c3xxx crypto: qat - refactor compression template logic 2025-05-05 18:20:44 +08:00
qat_c3xxxvf crypto: qat - refactor compression template logic 2025-05-05 18:20:44 +08:00
qat_c62x crypto: qat - refactor compression template logic 2025-05-05 18:20:44 +08:00
qat_c62xvf crypto: qat - refactor compression template logic 2025-05-05 18:20:44 +08:00
qat_common crypto: qat - fix duplicate restarting msg during AER error 2025-12-29 08:44:14 +08:00
qat_dh895xcc crypto: qat - refactor compression template logic 2025-05-05 18:20:44 +08:00
qat_dh895xccvf crypto: qat - refactor compression template logic 2025-05-05 18:20:44 +08:00
Kconfig crypto: qat - Use library to prepare HMAC keys 2025-09-13 12:11:06 +08:00
Makefile crypto: qat - add qat_6xxx driver 2025-05-05 18:20:45 +08:00