diff options
author | Koby Elbaz <kelbaz@habana.ai> | 2021-07-19 08:28:34 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-09-01 18:38:24 +0300 |
commit | cc5b4c4c75c43184c1d8684299efef2a68b87720 (patch) | |
tree | e46ea6694db253908efc02001d6ca9304e420fe7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b9317d513098d0da45ea96deff19058d1d37ae4d (diff) | |
download | linux-cc5b4c4c75c43184c1d8684299efef2a68b87720.tar.xz |
habanalabs: clear msg_to_cpu_reg to avoid misread after reset
For some ASICs, the f/w reads the msg_to_cpu_reg value after
reset, and for some it doesn't.
Therefore, to be sure f/w doesn't read a wrong value after reset, we
need to clear this register before the reset occurs.
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