diff options
author | Ohad Sharabi <osharabi@habana.ai> | 2024-02-18 12:54:29 +0300 |
---|---|---|
committer | Ofir Bitton <obitton@habana.ai> | 2024-06-23 09:45:51 +0300 |
commit | ecda35d461f491f7aa2a0f2060a2c36a5950c3b7 (patch) | |
tree | 3f511fcf186f38620b327c07f602f1046e05d385 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 467cfe945656df044c8cf9121e5cdbe5b977b497 (diff) | |
download | linux-ecda35d461f491f7aa2a0f2060a2c36a5950c3b7.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions