OSDN Git Service

habanalabs: put fences in case of unexpected wait status
authorTomer Tayar <ttayar@habana.ai>
Sun, 4 Dec 2022 21:23:47 +0000 (23:23 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 26 Jan 2023 08:56:22 +0000 (10:56 +0200)
commit7df5319a239a50d3b2ac6d416cbe53a187d86b8d
tree8fd9c73a8eff327b55494052f2c328f5c2b99bb0
parentdd7a82b52cc16c110269c608533ec1ee47d342fd
habanalabs: put fences in case of unexpected wait status

Need to put fences even if an unexpected status value is received while
waiting for a fence.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c