OSDN Git Service

habanalabs: expose only valid debugfs nodes
authorOfir Bitton <obitton@habana.ai>
Thu, 30 Jun 2022 06:54:59 +0000 (09:54 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:31 +0000 (09:09 +0300)
commit08f0aa9548fd624f7ad5ae1135423706b5e9fa6a
tree2ab7cd6d7b524af5a4802e2627a9909382537173
parent168fc71857efad3e122d7b26889824844b1e7146
habanalabs: expose only valid debugfs nodes

In case security is enabled on the device, some debugfs nodes will
fail. Hence, we do not expose them.

Signed-off-by: Ofir Bitton <obitton@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