OpenCloudOS-Kernel/drivers/crypto/qat
Wojciech Ziemba 1c4d9d5bbb crypto: qat - enable detection of accelerators hang
Enable the detection of hangs by setting watchdog timers (WDTs) on
generations that supports that feature.

The default timeout value comes from HW specs. WTDs are reset each time
an accelerator wins arbitration and is able to send/read a command to/from
an accelerator.

The value has added significant margin to make sure there are no spurious
timeouts. The scope of watchdog is per QAT device.

If a timeout is detected, the firmware resets the accelerator and
returns a response descriptor with an appropriate error code.

Signed-off-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-04-16 21:16:34 +10:00
..
qat_4xxx crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
qat_c3xxx crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
qat_c3xxxvf crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init 2021-03-26 20:02:36 +11:00
qat_c62x crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
qat_c62xvf crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init 2021-03-26 20:02:36 +11:00
qat_common crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
qat_dh895xcc crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
qat_dh895xccvf crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init 2021-03-26 20:02:36 +11:00
Kconfig crypto: qat - replace CRYPTO_AES with CRYPTO_LIB_AES in Kconfig 2021-01-14 17:10:25 +11:00
Makefile crypto: qat - add qat_4xxx driver 2020-11-20 14:45:34 +11:00