summaryrefslogtreecommitdiffstats
path: root/crypto/rsa.c
diff options
context:
space:
mode:
authorMun Chun Yep <mun.chun.yep@intel.com>2024-02-02 18:53:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-02-09 12:57:18 +0800
commit9567d3dc760931afc38f7f1144c66dd8c4b8c680 (patch)
tree5a5678e136427ed858c8c98ee52326c1b86e7f35 /crypto/rsa.c
parent750fa7c20e60926431ec50d63899771ffcd9fd5c (diff)
downloadlinux-9567d3dc760931afc38f7f1144c66dd8c4b8c680.tar.gz
linux-9567d3dc760931afc38f7f1144c66dd8c4b8c680.tar.bz2
linux-9567d3dc760931afc38f7f1144c66dd8c4b8c680.zip
crypto: qat - improve aer error reset handling
Rework the AER reset and recovery flow to take into account root port integrated devices that gets reset between the error detected and the slot reset callbacks. In adf_error_detected() the devices is gracefully shut down. The worker threads are disabled, the error conditions are notified to listeners and through PFVF comms and finally the device is reset as part of adf_dev_down(). In adf_slot_reset(), the device is brought up again. If SRIOV VFs were enabled before reset, these are re-enabled and VFs are notified of restarting through PFVF comms. Signed-off-by: Mun Chun Yep <mun.chun.yep@intel.com> Reviewed-by: Ahsan Atta <ahsan.atta@intel.com> Reviewed-by: Markas Rapoportas <markas.rapoportas@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsa.c')
0 files changed, 0 insertions, 0 deletions