linux/drivers/crypto/qat/qat_common
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 crypto: qat - add qat_4xxx driver 2020-11-20 14:45:34 +11:00
adf_accel_devices.h crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_accel_engine.c crypto: qat - target fw images to specific AEs 2020-11-20 14:45:34 +11:00
adf_admin.c crypto: qat - remove cast for mailbox CSR 2020-11-13 20:38:43 +11:00
adf_aer.c crypto: qat - drop input parameter from adf_enable_aer() 2020-10-08 16:38:06 +11:00
adf_cfg.c crypto: qat - change return value in adf_cfg_key_val_get() 2020-10-30 17:34:59 +11:00
adf_cfg.h crypto: qat - convert to SPDX License Identifiers 2020-06-18 17:19:44 +10:00
adf_cfg_common.h crypto: qat - add qat_4xxx driver 2020-11-20 14:45:34 +11:00
adf_cfg_strings.h crypto: qat - allow for instances in different banks 2020-10-30 17:35:01 +11:00
adf_cfg_user.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
adf_common_drv.h crypto: qat - allow to target specific AEs 2020-11-13 20:38:54 +11:00
adf_ctl_drv.c crypto: remove cipher routines from public crypto API 2021-01-03 08:41:35 +11:00
adf_dev_mgr.c crypto: qat - fix excluded_middle.cocci warnings 2020-11-27 17:13:41 +11:00
adf_gen2_hw_data.c crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_gen2_hw_data.h crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_gen4_hw_data.c crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_gen4_hw_data.h crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_hw_arbiter.c crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
adf_init.c crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_isr.c crypto: qat - fix error path in adf_isr_resource_alloc() 2021-04-02 18:28:12 +11:00
adf_pf2vf_msg.c crypto: qat - fix spelling mistake: "messge" -> "message" 2021-03-07 15:13:14 +11:00
adf_pf2vf_msg.h crypto: qat - convert to SPDX License Identifiers 2020-06-18 17:19:44 +10:00
adf_sriov.c crypto: qat - replace pci with PCI in comments 2020-11-13 20:38:44 +11:00
adf_transport.c crypto: qat - Fix a double free in adf_create_ring 2021-04-09 17:45:14 +10:00
adf_transport.h crypto: qat - replace user types with kernel u types 2020-06-18 17:26:41 +10:00
adf_transport_access_macros.h crypto: qat - remove hardcoded bank irq clear flag mask 2020-10-30 17:34:57 +11:00
adf_transport_debug.c crypto: qat - change format string and cast ring size 2021-01-14 17:10:26 +11:00
adf_transport_internal.h crypto: qat - num_rings_per_bank is device dependent 2020-10-30 17:34:46 +11:00
adf_vf2pf_msg.c crypto: qat - fix spelling mistake: "messge" -> "message" 2021-03-07 15:13:14 +11:00
adf_vf_isr.c crypto: qat - don't release uninitialized resources 2021-03-26 20:02:36 +11:00
icp_qat_fw.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
icp_qat_fw_init_admin.h crypto: qat - rename ME in AE 2020-10-30 17:34:49 +11:00
icp_qat_fw_la.h crypto: qat - add AES-CTR support for QAT GEN4 devices 2020-12-11 21:54:15 +11:00
icp_qat_fw_loader_handle.h crypto: qat - add support for broadcasting mode 2020-11-13 20:38:55 +11:00
icp_qat_fw_pke.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
icp_qat_hal.h crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00
icp_qat_hw.h crypto: qat - add AES-CTR support for QAT GEN4 devices 2020-12-11 21:54:15 +11:00
icp_qat_uclo.h crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00
qat_algs.c crypto: qat - fix use of 'dma_map_single' 2021-03-13 00:04:05 +11:00
qat_asym_algs.c crypto: qat - reduce size of mapped region 2021-01-14 17:10:26 +11:00
qat_crypto.c crypto: qat - allow for instances in different banks 2020-10-30 17:35:01 +11:00
qat_crypto.h crypto: qat - register crypto instances based on capability 2020-10-30 17:34:54 +11:00
qat_hal.c crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00
qat_uclo.c crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00