linux/drivers/accel
Ohad Sharabi ecda35d461 accel/habanalabs: no CPUCP prints on heartbeat failure
If we detected heartbet event while some daemon in the background send
(via driver interface) CPUCP messages the dmesg will be flooded.

Instead, a slight refactor in hl_fw_send_cpu_message() returns -EAGAIN
when CPU is disabled (i.e. heartbeat failure) and only then.

Later, all calling functions that may be invoked by user space can issue
prints only if the error code is not -EAGAIN.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
Signed-off-by: Ofir Bitton <obitton@habana.ai>
2024-06-23 09:45:51 +03:00
..
habanalabs accel/habanalabs: no CPUCP prints on heartbeat failure 2024-06-23 09:45:51 +03:00
ivpu The usual shower of singleton fixes and minor series all over MM, 2024-05-19 09:21:03 -07:00
qaic accel/qaic: mark debugfs stub functions as static inline 2024-04-12 09:53:28 -06:00
drm_accel.c accel: constify the struct device_type usage 2024-02-26 09:59:18 +02:00
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00