aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorOded Gabbay <[email protected]>2021-02-16 22:34:24 +0200
committerOded Gabbay <[email protected]>2021-04-09 14:09:22 +0300
commit35862d1c99471e3a03175e94d267815a0921e9ca (patch)
treef0a22a1c651358ec0584534cdb86395695891fc6 /tools/perf/scripts/python/exported-sql-viewer.py
parent8e9445a678cab4478aa90a5f8898ba093371e30f (diff)
habanalabs: reset after device is actually released
The device is actually released only after the refcnt of the hpriv structure is 0, which means all its contexts were closed. If we reset the device while a context is still open, there are possibilities for unexpected behavior and crashes. For example, if the process has a mapping of a register block that is now currently being reset, and the process writes/reads to that block during the reset, the device can get stuck. Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions