diff options
author | Koby Elbaz <kelbaz@habana.ai> | 2021-07-06 20:50:33 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-08-29 09:47:47 +0300 |
commit | 8bb8b505761238be0d6a83dc41188867d65e5d4c (patch) | |
tree | 4a3b984663e2ea092c86cde20733afd557d7291c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ae2021d320e9b454ca4ea7b32fdf1d111d3902c4 (diff) | |
download | linux-8bb8b505761238be0d6a83dc41188867d65e5d4c.tar.xz |
habanalabs: fix race between soft reset and heartbeat
There is a scenario where an ongoing soft reset would race with an
ongoing heartbeat routine, eventually causing heartbeat to fail and
thus to escalate into a hard reset.
With this fix, soft-reset procedure will disable heartbeat CPU messages
and flush the (ongoing) current one before continuing with reset code.
Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions