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)
commit3c3aa5dbd65915abaa87d91330f4463c99d0df44
tree3920ca16f0666c35dc14466c4439e37007cd6f80
parent9e2e8fc7d65c9c2b58a4bf5b6c62a6fbb3762d05
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