]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: add debug messages for opening/closing context
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 23 Sep 2020 20:51:03 +0000 (23:51 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Fri, 25 Sep 2020 11:44:20 +0000 (14:44 +0300)
commitff565a0d5b52451c7191f245a315f32172dc1614
tree3920ca16f0666c35dc14466c4439e37007cd6f80
parent6f869a3d147a09f0a21681cfaad6b7bff44fbc62
habanalabs: add debug messages for opening/closing context

During debugging of error we sometimes need to know whether the error
happened when a user context was open. Add debug prints when opening and
closing user contexts.

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