diff options
author | Yuri Nudelman <ynudelman@habana.ai> | 2021-07-29 10:44:28 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-09-01 17:38:24 +0200 |
commit | 89b213657c71aa292921f72a81d405679b1ea8df (patch) | |
tree | 6909f97d409040e9a9557fbaa598e5bb1b118ce0 /Documentation | |
parent | habanalabs/gaudi: fetch TPC/MME ECC errors from F/W (diff) | |
download | linux-89b213657c71aa292921f72a81d405679b1ea8df.tar.xz linux-89b213657c71aa292921f72a81d405679b1ea8df.zip |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/debugfs-driver-habanalabs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-driver-habanalabs b/Documentation/ABI/testing/debugfs-driver-habanalabs index e29156511388..284e2dfa61cd 100644 --- a/Documentation/ABI/testing/debugfs-driver-habanalabs +++ b/Documentation/ABI/testing/debugfs-driver-habanalabs @@ -241,6 +241,14 @@ Description: Displays a list with information about the currently user pointers (user virtual addresses) that are pinned and mapped to DMA addresses +What: /sys/kernel/debug/habanalabs/hl<n>/userptr_lookup +Date: Aug 2021 +KernelVersion: 5.15 +Contact: ogabbay@kernel.org +Description: Allows to search for specific user pointers (user virtual + addresses) that are pinned and mapped to DMA addresses, and see + their resolution to the specific dma address. + What: /sys/kernel/debug/habanalabs/hl<n>/vm Date: Jan 2019 KernelVersion: 5.1 |