mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 23:23:03 +00:00
ecda35d461
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> |
||
---|---|---|
.. | ||
habanalabs | ||
ivpu | ||
qaic | ||
drm_accel.c | ||
Kconfig | ||
Makefile |