linux/drivers/accel/habanalabs/gaudi
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
..
gaudi_coresight.c accel/habanalabs: fix ETR/ETF flush logic 2023-10-09 12:37:20 +03:00
gaudi_security.c
gaudi.c accel/habanalabs: no CPUCP prints on heartbeat failure 2024-06-23 09:45:51 +03:00
gaudiP.h accel/habanalabs: move cpucp interface to linux/habanalabs 2023-10-09 12:37:21 +03:00
Makefile