1- What: /sys/kernel/debug/accel/<n >/addr
1+ What: /sys/kernel/debug/accel/<parent_device >/addr
22Date: Jan 2019
33KernelVersion: 5.1
44Contact: ogabbay@kernel.org
@@ -8,34 +8,34 @@ Description: Sets the device address to be used for read or write through
88 only when the IOMMU is disabled.
99 The acceptable value is a string that starts with "0x"
1010
11- What: /sys/kernel/debug/accel/<n >/clk_gate
11+ What: /sys/kernel/debug/accel/<parent_device >/clk_gate
1212Date: May 2020
1313KernelVersion: 5.8
1414Contact: ogabbay@kernel.org
1515Description: This setting is now deprecated as clock gating is handled solely by the f/w
1616
17- What: /sys/kernel/debug/accel/<n >/command_buffers
17+ What: /sys/kernel/debug/accel/<parent_device >/command_buffers
1818Date: Jan 2019
1919KernelVersion: 5.1
2020Contact: ogabbay@kernel.org
2121Description: Displays a list with information about the currently allocated
2222 command buffers
2323
24- What: /sys/kernel/debug/accel/<n >/command_submission
24+ What: /sys/kernel/debug/accel/<parent_device >/command_submission
2525Date: Jan 2019
2626KernelVersion: 5.1
2727Contact: ogabbay@kernel.org
2828Description: Displays a list with information about the currently active
2929 command submissions
3030
31- What: /sys/kernel/debug/accel/<n >/command_submission_jobs
31+ What: /sys/kernel/debug/accel/<parent_device >/command_submission_jobs
3232Date: Jan 2019
3333KernelVersion: 5.1
3434Contact: ogabbay@kernel.org
3535Description: Displays a list with detailed information about each JOB (CB) of
3636 each active command submission
3737
38- What: /sys/kernel/debug/accel/<n >/data32
38+ What: /sys/kernel/debug/accel/<parent_device >/data32
3939Date: Jan 2019
4040KernelVersion: 5.1
4141Contact: ogabbay@kernel.org
@@ -50,7 +50,7 @@ Description: Allows the root user to read or write directly through the
5050 If the IOMMU is disabled, it also allows the root user to read
5151 or write from the host a device VA of a host mapped memory
5252
53- What: /sys/kernel/debug/accel/<n >/data64
53+ What: /sys/kernel/debug/accel/<parent_device >/data64
5454Date: Jan 2020
5555KernelVersion: 5.6
5656Contact: ogabbay@kernel.org
@@ -65,7 +65,7 @@ Description: Allows the root user to read or write 64 bit data directly
6565 If the IOMMU is disabled, it also allows the root user to read
6666 or write from the host a device VA of a host mapped memory
6767
68- What: /sys/kernel/debug/accel/<n >/data_dma
68+ What: /sys/kernel/debug/accel/<parent_device >/data_dma
6969Date: Apr 2021
7070KernelVersion: 5.13
7171Contact: ogabbay@kernel.org
@@ -83,22 +83,22 @@ Description: Allows the root user to read from the device's internal
8383 workloads.
8484 Only supported on GAUDI at this stage.
8585
86- What: /sys/kernel/debug/accel/<n >/device
86+ What: /sys/kernel/debug/accel/<parent_device >/device
8787Date: Jan 2019
8888KernelVersion: 5.1
8989Contact: ogabbay@kernel.org
9090Description: Enables the root user to set the device to specific state.
9191 Valid values are "disable", "enable", "suspend", "resume".
9292 User can read this property to see the valid values
9393
94- What: /sys/kernel/debug/accel/<n >/device_release_watchdog_timeout
94+ What: /sys/kernel/debug/accel/<parent_device >/device_release_watchdog_timeout
9595Date: Oct 2022
9696KernelVersion: 6.2
9797Contact: ttayar@habana.ai
9898Description: The watchdog timeout value in seconds for a device release upon
9999 certain error cases, after which the device is reset.
100100
101- What: /sys/kernel/debug/accel/<n >/dma_size
101+ What: /sys/kernel/debug/accel/<parent_device >/dma_size
102102Date: Apr 2021
103103KernelVersion: 5.13
104104Contact: ogabbay@kernel.org
@@ -108,7 +108,7 @@ Description: Specify the size of the DMA transaction when using DMA to read
108108 When the write is finished, the user can read the "data_dma"
109109 blob
110110
111- What: /sys/kernel/debug/accel/<n >/dump_razwi_events
111+ What: /sys/kernel/debug/accel/<parent_device >/dump_razwi_events
112112Date: Aug 2022
113113KernelVersion: 5.20
114114Contact: fkassabri@habana.ai
@@ -117,38 +117,38 @@ Description: Dumps all razwi events to dmesg if exist.
117117 the routine will clear the status register.
118118 Usage: cat dump_razwi_events
119119
120- What: /sys/kernel/debug/accel/<n >/dump_security_violations
120+ What: /sys/kernel/debug/accel/<parent_device >/dump_security_violations
121121Date: Jan 2021
122122KernelVersion: 5.12
123123Contact: ogabbay@kernel.org
124124Description: Dumps all security violations to dmesg. This will also ack
125125 all security violations meanings those violations will not be
126126 dumped next time user calls this API
127127
128- What: /sys/kernel/debug/accel/<n >/engines
128+ What: /sys/kernel/debug/accel/<parent_device >/engines
129129Date: Jul 2019
130130KernelVersion: 5.3
131131Contact: ogabbay@kernel.org
132132Description: Displays the status registers values of the device engines and
133133 their derived idle status
134134
135- What: /sys/kernel/debug/accel/<n >/i2c_addr
135+ What: /sys/kernel/debug/accel/<parent_device >/i2c_addr
136136Date: Jan 2019
137137KernelVersion: 5.1
138138Contact: ogabbay@kernel.org
139139Description: Sets I2C device address for I2C transaction that is generated
140140 by the device's CPU, Not available when device is loaded with secured
141141 firmware
142142
143- What: /sys/kernel/debug/accel/<n >/i2c_bus
143+ What: /sys/kernel/debug/accel/<parent_device >/i2c_bus
144144Date: Jan 2019
145145KernelVersion: 5.1
146146Contact: ogabbay@kernel.org
147147Description: Sets I2C bus address for I2C transaction that is generated by
148148 the device's CPU, Not available when device is loaded with secured
149149 firmware
150150
151- What: /sys/kernel/debug/accel/<n >/i2c_data
151+ What: /sys/kernel/debug/accel/<parent_device >/i2c_data
152152Date: Jan 2019
153153KernelVersion: 5.1
154154Contact: ogabbay@kernel.org
@@ -157,59 +157,59 @@ Description: Triggers an I2C transaction that is generated by the device's
157157 reading from the file generates a read transaction, Not available
158158 when device is loaded with secured firmware
159159
160- What: /sys/kernel/debug/accel/<n >/i2c_len
160+ What: /sys/kernel/debug/accel/<parent_device >/i2c_len
161161Date: Dec 2021
162162KernelVersion: 5.17
163163Contact: obitton@habana.ai
164164Description: Sets I2C length in bytes for I2C transaction that is generated by
165165 the device's CPU, Not available when device is loaded with secured
166166 firmware
167167
168- What: /sys/kernel/debug/accel/<n >/i2c_reg
168+ What: /sys/kernel/debug/accel/<parent_device >/i2c_reg
169169Date: Jan 2019
170170KernelVersion: 5.1
171171Contact: ogabbay@kernel.org
172172Description: Sets I2C register id for I2C transaction that is generated by
173173 the device's CPU, Not available when device is loaded with secured
174174 firmware
175175
176- What: /sys/kernel/debug/accel/<n >/led0
176+ What: /sys/kernel/debug/accel/<parent_device >/led0
177177Date: Jan 2019
178178KernelVersion: 5.1
179179Contact: ogabbay@kernel.org
180180Description: Sets the state of the first S/W led on the device, Not available
181181 when device is loaded with secured firmware
182182
183- What: /sys/kernel/debug/accel/<n >/led1
183+ What: /sys/kernel/debug/accel/<parent_device >/led1
184184Date: Jan 2019
185185KernelVersion: 5.1
186186Contact: ogabbay@kernel.org
187187Description: Sets the state of the second S/W led on the device, Not available
188188 when device is loaded with secured firmware
189189
190- What: /sys/kernel/debug/accel/<n >/led2
190+ What: /sys/kernel/debug/accel/<parent_device >/led2
191191Date: Jan 2019
192192KernelVersion: 5.1
193193Contact: ogabbay@kernel.org
194194Description: Sets the state of the third S/W led on the device, Not available
195195 when device is loaded with secured firmware
196196
197- What: /sys/kernel/debug/accel/<n >/memory_scrub
197+ What: /sys/kernel/debug/accel/<parent_device >/memory_scrub
198198Date: May 2022
199199KernelVersion: 5.19
200200Contact: dhirschfeld@habana.ai
201201Description: Allows the root user to scrub the dram memory. The scrubbing
202202 value can be set using the debugfs file memory_scrub_val.
203203
204- What: /sys/kernel/debug/accel/<n >/memory_scrub_val
204+ What: /sys/kernel/debug/accel/<parent_device >/memory_scrub_val
205205Date: May 2022
206206KernelVersion: 5.19
207207Contact: dhirschfeld@habana.ai
208208Description: The value to which the dram will be set to when the user
209209 scrubs the dram using 'memory_scrub' debugfs file and
210210 the scrubbing value when using module param 'memory_scrub'
211211
212- What: /sys/kernel/debug/accel/<n >/mmu
212+ What: /sys/kernel/debug/accel/<parent_device >/mmu
213213Date: Jan 2019
214214KernelVersion: 5.1
215215Contact: ogabbay@kernel.org
@@ -219,7 +219,7 @@ Description: Displays the hop values and physical address for a given ASID
219219 e.g. to display info about VA 0x1000 for ASID 1 you need to do:
220220 echo "1 0x1000" > /sys/kernel/debug/accel/0/mmu
221221
222- What: /sys/kernel/debug/accel/<n >/mmu_error
222+ What: /sys/kernel/debug/accel/<parent_device >/mmu_error
223223Date: Mar 2021
224224KernelVersion: 5.12
225225Contact: fkassabri@habana.ai
@@ -229,7 +229,7 @@ Description: Check and display page fault or access violation mmu errors for
229229 echo "0x200" > /sys/kernel/debug/accel/0/mmu_error
230230 cat /sys/kernel/debug/accel/0/mmu_error
231231
232- What: /sys/kernel/debug/accel/<n >/monitor_dump
232+ What: /sys/kernel/debug/accel/<parent_device >/monitor_dump
233233Date: Mar 2022
234234KernelVersion: 5.19
235235Contact: osharabi@habana.ai
@@ -243,7 +243,7 @@ Description: Allows the root user to dump monitors status from the device's
243243 This interface doesn't support concurrency in the same device.
244244 Only supported on GAUDI.
245245
246- What: /sys/kernel/debug/accel/<n >/monitor_dump_trig
246+ What: /sys/kernel/debug/accel/<parent_device >/monitor_dump_trig
247247Date: Mar 2022
248248KernelVersion: 5.19
249249Contact: osharabi@habana.ai
@@ -253,22 +253,22 @@ Description: Triggers dump of monitor data. The value to trigger the operatio
253253 When the write is finished, the user can read the "monitor_dump"
254254 blob
255255
256- What: /sys/kernel/debug/accel/<n >/set_power_state
256+ What: /sys/kernel/debug/accel/<parent_device >/set_power_state
257257Date: Jan 2019
258258KernelVersion: 5.1
259259Contact: ogabbay@kernel.org
260260Description: Sets the PCI power state. Valid values are "1" for D0 and "2"
261261 for D3Hot
262262
263- What: /sys/kernel/debug/accel/<n >/skip_reset_on_timeout
263+ What: /sys/kernel/debug/accel/<parent_device >/skip_reset_on_timeout
264264Date: Jun 2021
265265KernelVersion: 5.13
266266Contact: ynudelman@habana.ai
267267Description: Sets the skip reset on timeout option for the device. Value of
268268 "0" means device will be reset in case some CS has timed out,
269269 otherwise it will not be reset.
270270
271- What: /sys/kernel/debug/accel/<n >/state_dump
271+ What: /sys/kernel/debug/accel/<parent_device >/state_dump
272272Date: Oct 2021
273273KernelVersion: 5.15
274274Contact: ynudelman@habana.ai
@@ -279,37 +279,37 @@ Description: Gets the state dump occurring on a CS timeout or failure.
279279 Writing an integer X discards X state dumps, so that the
280280 next read would return X+1-st newest state dump.
281281
282- What: /sys/kernel/debug/accel/<n >/stop_on_err
282+ What: /sys/kernel/debug/accel/<parent_device >/stop_on_err
283283Date: Mar 2020
284284KernelVersion: 5.6
285285Contact: ogabbay@kernel.org
286286Description: Sets the stop-on_error option for the device engines. Value of
287287 "0" is for disable, otherwise enable.
288288 Relevant only for GOYA and GAUDI.
289289
290- What: /sys/kernel/debug/accel/<n >/timeout_locked
290+ What: /sys/kernel/debug/accel/<parent_device >/timeout_locked
291291Date: Sep 2021
292292KernelVersion: 5.16
293293Contact: obitton@habana.ai
294294Description: Sets the command submission timeout value in seconds.
295295
296- What: /sys/kernel/debug/accel/<n >/userptr
296+ What: /sys/kernel/debug/accel/<parent_device >/userptr
297297Date: Jan 2019
298298KernelVersion: 5.1
299299Contact: ogabbay@kernel.org
300300Description: Displays a list with information about the current user
301301 pointers (user virtual addresses) that are pinned and mapped
302302 to DMA addresses
303303
304- What: /sys/kernel/debug/accel/<n >/userptr_lookup
304+ What: /sys/kernel/debug/accel/<parent_device >/userptr_lookup
305305Date: Oct 2021
306306KernelVersion: 5.15
307307Contact: ogabbay@kernel.org
308308Description: Allows to search for specific user pointers (user virtual
309309 addresses) that are pinned and mapped to DMA addresses, and see
310310 their resolution to the specific dma address.
311311
312- What: /sys/kernel/debug/accel/<n >/vm
312+ What: /sys/kernel/debug/accel/<parent_device >/vm
313313Date: Jan 2019
314314KernelVersion: 5.1
315315Contact: ogabbay@kernel.org
0 commit comments