diff options
| author | Ohad Sharabi <[email protected]> | 2024-02-18 11:54:29 +0200 |
|---|---|---|
| committer | Ofir Bitton <[email protected]> | 2024-06-23 09:45:51 +0300 |
| commit | ecda35d461f491f7aa2a0f2060a2c36a5950c3b7 (patch) | |
| tree | 3f511fcf186f38620b327c07f602f1046e05d385 /tools/perf/util/scripting-engines | |
| parent | 467cfe945656df044c8cf9121e5cdbe5b977b497 (diff) | |
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 <[email protected]>
Reviewed-by: Ofir Bitton <[email protected]>
Signed-off-by: Ofir Bitton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions