]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
habanalabs: add more protection of device during reset
authorOded Gabbay <oded.gabbay@gmail.com>
Mon, 18 Nov 2019 07:41:08 +0000 (09:41 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 21 Nov 2019 09:35:47 +0000 (11:35 +0200)
commit5feccddcf9922ee3c25587d5e609bf58503ad93e
tree9e6805e17b262b99da99005959b6e3874a4120c0
parent55f6d680970ea922d4ee23d5ac88d3a8046221fb
habanalabs: add more protection of device during reset

Prevent accesses to the device (register read/write) from debugfs entries
during reset as that can cause the device to get stuck.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
drivers/misc/habanalabs/debugfs.c