OpenCloudOS-Kernel/drivers/crypto/qat/qat_c3xxx
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
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adf_c3xxx_hw_data.c crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_c3xxx_hw_data.h crypto: qat - fix configuration of iov threads 2020-10-30 17:34:47 +11:00
adf_drv.c crypto: qat - add support for capability detection 2020-10-30 17:34:54 +11:00