summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/debugfs-driver-habanalabs
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2021-01-07 13:14:17 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-01-27 22:03:50 +0300
commitd2b980f3299e9bdef55399c9cde6a72e0b6d446c (patch)
treef192a4dc25f5a9a02460bb451660f00179245aac /Documentation/ABI/testing/debugfs-driver-habanalabs
parenteea4c2557cb986584c4960eb15dd17cb3f4f99a2 (diff)
downloadlinux-d2b980f3299e9bdef55399c9cde6a72e0b6d446c.tar.xz
habanalabs: add security violations dump to debugfs
In order to improve driver security debuggability, we add security violations dump to debugfs. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/debugfs-driver-habanalabs')
-rw-r--r--Documentation/ABI/testing/debugfs-driver-habanalabs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-driver-habanalabs b/Documentation/ABI/testing/debugfs-driver-habanalabs
index c5d678d39144..3979bfdaa080 100644
--- a/Documentation/ABI/testing/debugfs-driver-habanalabs
+++ b/Documentation/ABI/testing/debugfs-driver-habanalabs
@@ -182,3 +182,11 @@ KernelVersion: 5.6
Contact: oded.gabbay@gmail.com
Description: Sets the stop-on_error option for the device engines. Value of
"0" is for disable, otherwise enable.
+
+What: /sys/kernel/debug/habanalabs/hl<n>/dump_security_violations
+Date: Jan 2021
+KernelVersion: 5.12
+Contact: oded.gabbay@gmail.com
+Description: Dumps all security violations to dmesg. This will also ack
+ all security violations meanings those violations will not be
+ dumped next time user calls this API