linux/drivers/accel
Karol Wachowski 0e7db503c5 accel/ivpu: Implement heartbeat-based TDR mechanism
Introduce a heartbeat-based Timeout Detection and Recovery (TDR) mechanism.
The enhancement aims to improve the reliability of device hang detection by
monitoring heartbeat updates.

Each progressing inference will update heartbeat counter allowing driver to
monitor its progression. Limit maximum number of reschedules when heartbeat
indicates progression to 30. This increases the maximum running time of
single inference to about 60 seconds.

The heartbeat mechanism provides a more robust method for detecting device
hangs, potentially reducing false positive recoveries due to long running
inferences.

Signed-off-by: Karol Wachowski <karol.wachowski@intel.com>
Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://lore.kernel.org/r/20250416102555.384526-1-maciej.falkowski@linux.intel.com
History 2025-04-25 09:49:11 +02:00
..
amdxdna accel/amdxdna: Fix incorrect size of ERT_START_NPU commands 2025-04-10 10:45:39 -07:00
habanalabs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
ivpu accel/ivpu: Implement heartbeat-based TDR mechanism 2025-04-25 09:49:11 +02:00
qaic accel/qaic: Test for imported buffers with drm_gem_is_imported() 2025-04-11 09:40:30 -06:00
drm_accel.c accel: Use XArray instead of IDR for minors 2024-08-26 17:06:22 +02:00
Kconfig accel/amdxdna: Add a new driver for AMD AI Engine 2024-11-22 11:41:26 -07:00
Makefile accel/amdxdna: Add a new driver for AMD AI Engine 2024-11-22 11:41:26 -07:00