habanalabs: add userptr_lookup node in debugfs
authorYuri Nudelman <ynudelman@habana.ai>
Thu, 29 Jul 2021 08:44:28 +0000 (11:44 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 1 Sep 2021 15:38:24 +0000 (18:38 +0300)
commit89b213657c71aa292921f72a81d405679b1ea8df
tree6909f97d409040e9a9557fbaa598e5bb1b118ce0
parent816a6c6d99a3758baed317263efe7efd91770004
habanalabs: add userptr_lookup node in debugfs

It is useful to have the ability to see which user address was pinned
to which physical address during the initial mapping. We already have
all that info stored, but no means to search this data (which may be
quite large).

Signed-off-by: Yuri Nudelman <ynudelman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Documentation/ABI/testing/debugfs-driver-habanalabs
drivers/misc/habanalabs/common/debugfs.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/memory.c