11What: /sys/kernel/debug/habanalabs/hl<n>/addr
22Date: Jan 2019
33KernelVersion: 5.1
4- Contact: oded.gabbay@gmail.com
4+ Contact: ogabbay@kernel.org
55Description: Sets the device address to be used for read or write through
66 PCI bar, or the device VA of a host mapped memory to be read or
77 written directly from the host. The latter option is allowed
@@ -11,7 +11,7 @@ Description: Sets the device address to be used for read or write through
1111What: /sys/kernel/debug/habanalabs/hl<n>/clk_gate
1212Date: May 2020
1313KernelVersion: 5.8
14- Contact: oded.gabbay@gmail.com
14+ Contact: ogabbay@kernel.org
1515Description: Allow the root user to disable/enable in runtime the clock
1616 gating mechanism in Gaudi. Due to how Gaudi is built, the
1717 clock gating needs to be disabled in order to access the
@@ -34,28 +34,28 @@ Description: Allow the root user to disable/enable in runtime the clock
3434What: /sys/kernel/debug/habanalabs/hl<n>/command_buffers
3535Date: Jan 2019
3636KernelVersion: 5.1
37- Contact: oded.gabbay@gmail.com
37+ Contact: ogabbay@kernel.org
3838Description: Displays a list with information about the currently allocated
3939 command buffers
4040
4141What: /sys/kernel/debug/habanalabs/hl<n>/command_submission
4242Date: Jan 2019
4343KernelVersion: 5.1
44- Contact: oded.gabbay@gmail.com
44+ Contact: ogabbay@kernel.org
4545Description: Displays a list with information about the currently active
4646 command submissions
4747
4848What: /sys/kernel/debug/habanalabs/hl<n>/command_submission_jobs
4949Date: Jan 2019
5050KernelVersion: 5.1
51- Contact: oded.gabbay@gmail.com
51+ Contact: ogabbay@kernel.org
5252Description: Displays a list with detailed information about each JOB (CB) of
5353 each active command submission
5454
5555What: /sys/kernel/debug/habanalabs/hl<n>/data32
5656Date: Jan 2019
5757KernelVersion: 5.1
58- Contact: oded.gabbay@gmail.com
58+ Contact: ogabbay@kernel.org
5959Description: Allows the root user to read or write directly through the
6060 device's PCI bar. Writing to this file generates a write
6161 transaction while reading from the file generates a read
@@ -70,7 +70,7 @@ Description: Allows the root user to read or write directly through the
7070What: /sys/kernel/debug/habanalabs/hl<n>/data64
7171Date: Jan 2020
7272KernelVersion: 5.6
73- Contact: oded.gabbay@gmail.com
73+ Contact: ogabbay@kernel.org
7474Description: Allows the root user to read or write 64 bit data directly
7575 through the device's PCI bar. Writing to this file generates a
7676 write transaction while reading from the file generates a read
@@ -85,69 +85,69 @@ Description: Allows the root user to read or write 64 bit data directly
8585What: /sys/kernel/debug/habanalabs/hl<n>/device
8686Date: Jan 2019
8787KernelVersion: 5.1
88- Contact: oded.gabbay@gmail.com
88+ Contact: ogabbay@kernel.org
8989Description: Enables the root user to set the device to specific state.
9090 Valid values are "disable", "enable", "suspend", "resume".
9191 User can read this property to see the valid values
9292
9393What: /sys/kernel/debug/habanalabs/hl<n>/engines
9494Date: Jul 2019
9595KernelVersion: 5.3
96- Contact: oded.gabbay@gmail.com
96+ Contact: ogabbay@kernel.org
9797Description: Displays the status registers values of the device engines and
9898 their derived idle status
9999
100100What: /sys/kernel/debug/habanalabs/hl<n>/i2c_addr
101101Date: Jan 2019
102102KernelVersion: 5.1
103- Contact: oded.gabbay@gmail.com
103+ Contact: ogabbay@kernel.org
104104Description: Sets I2C device address for I2C transaction that is generated
105105 by the device's CPU
106106
107107What: /sys/kernel/debug/habanalabs/hl<n>/i2c_bus
108108Date: Jan 2019
109109KernelVersion: 5.1
110- Contact: oded.gabbay@gmail.com
110+ Contact: ogabbay@kernel.org
111111Description: Sets I2C bus address for I2C transaction that is generated by
112112 the device's CPU
113113
114114What: /sys/kernel/debug/habanalabs/hl<n>/i2c_data
115115Date: Jan 2019
116116KernelVersion: 5.1
117- Contact: oded.gabbay@gmail.com
117+ Contact: ogabbay@kernel.org
118118Description: Triggers an I2C transaction that is generated by the device's
119119 CPU. Writing to this file generates a write transaction while
120120 reading from the file generates a read transcation
121121
122122What: /sys/kernel/debug/habanalabs/hl<n>/i2c_reg
123123Date: Jan 2019
124124KernelVersion: 5.1
125- Contact: oded.gabbay@gmail.com
125+ Contact: ogabbay@kernel.org
126126Description: Sets I2C register id for I2C transaction that is generated by
127127 the device's CPU
128128
129129What: /sys/kernel/debug/habanalabs/hl<n>/led0
130130Date: Jan 2019
131131KernelVersion: 5.1
132- Contact: oded.gabbay@gmail.com
132+ Contact: ogabbay@kernel.org
133133Description: Sets the state of the first S/W led on the device
134134
135135What: /sys/kernel/debug/habanalabs/hl<n>/led1
136136Date: Jan 2019
137137KernelVersion: 5.1
138- Contact: oded.gabbay@gmail.com
138+ Contact: ogabbay@kernel.org
139139Description: Sets the state of the second S/W led on the device
140140
141141What: /sys/kernel/debug/habanalabs/hl<n>/led2
142142Date: Jan 2019
143143KernelVersion: 5.1
144- Contact: oded.gabbay@gmail.com
144+ Contact: ogabbay@kernel.org
145145Description: Sets the state of the third S/W led on the device
146146
147147What: /sys/kernel/debug/habanalabs/hl<n>/mmu
148148Date: Jan 2019
149149KernelVersion: 5.1
150- Contact: oded.gabbay@gmail.com
150+ Contact: ogabbay@kernel.org
151151Description: Displays the hop values and physical address for a given ASID
152152 and virtual address. The user should write the ASID and VA into
153153 the file and then read the file to get the result.
@@ -157,28 +157,36 @@ Description: Displays the hop values and physical address for a given ASID
157157What: /sys/kernel/debug/habanalabs/hl<n>/set_power_state
158158Date: Jan 2019
159159KernelVersion: 5.1
160- Contact: oded.gabbay@gmail.com
160+ Contact: ogabbay@kernel.org
161161Description: Sets the PCI power state. Valid values are "1" for D0 and "2"
162162 for D3Hot
163163
164164What: /sys/kernel/debug/habanalabs/hl<n>/userptr
165165Date: Jan 2019
166166KernelVersion: 5.1
167- Contact: oded.gabbay@gmail.com
167+ Contact: ogabbay@kernel.org
168168Description: Displays a list with information about the currently user
169169 pointers (user virtual addresses) that are pinned and mapped
170170 to DMA addresses
171171
172172What: /sys/kernel/debug/habanalabs/hl<n>/vm
173173Date: Jan 2019
174174KernelVersion: 5.1
175- Contact: oded.gabbay@gmail.com
175+ Contact: ogabbay@kernel.org
176176Description: Displays a list with information about all the active virtual
177177 address mappings per ASID
178178
179179What: /sys/kernel/debug/habanalabs/hl<n>/stop_on_err
180180Date: Mar 2020
181181KernelVersion: 5.6
182- Contact: oded.gabbay@gmail.com
182+ Contact: ogabbay@kernel.org
183183Description: Sets the stop-on_error option for the device engines. Value of
184184 "0" is for disable, otherwise enable.
185+
186+ What: /sys/kernel/debug/habanalabs/hl<n>/dump_security_violations
187+ Date: Jan 2021
188+ KernelVersion: 5.12
189+ Contact: ogabbay@kernel.org
190+ Description: Dumps all security violations to dmesg. This will also ack
191+ all security violations meanings those violations will not be
192+ dumped next time user calls this API
0 commit comments