summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2022-11-30 13:07:06 +0300
committerOded Gabbay <ogabbay@kernel.org>2023-01-26 11:56:21 +0300
commit086ab54ac00ca8c2614311a8acf9a3b19760eecc (patch)
tree1134e5ad0b8d2e9da6cfad67621d10cc90c68bf6 /scripts/gdb/linux/proc.py
parent853413b234b002597df19f092892a1b1f52a2a47 (diff)
downloadlinux-086ab54ac00ca8c2614311a8acf9a3b19760eecc.tar.xz
habanalabs: skip device idle check in hpriv_release if in reset
When user context is released and hpriv_release() is called, there is a device idle status check, to understand if user has left the device not idle and then a reset is required. However, if the user process is killed because of device hard reset, the device at this point would always be not idle, because the device engines were already forcefully halted. Modify hpriv_release() to skip the idle check if reset is in progress. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions