1
- What: /sys/kernel/debug/accel/<n >/addr
1
+ What: /sys/kernel/debug/accel/<parent_device >/addr
2
2
Date: Jan 2019
3
3
KernelVersion: 5.1
4
4
Contact: ogabbay@kernel.org
@@ -8,34 +8,34 @@ Description: Sets the device address to be used for read or write through
8
8
only when the IOMMU is disabled.
9
9
The acceptable value is a string that starts with "0x"
10
10
11
- What: /sys/kernel/debug/accel/<n >/clk_gate
11
+ What: /sys/kernel/debug/accel/<parent_device >/clk_gate
12
12
Date: May 2020
13
13
KernelVersion: 5.8
14
14
Contact: ogabbay@kernel.org
15
15
Description: This setting is now deprecated as clock gating is handled solely by the f/w
16
16
17
- What: /sys/kernel/debug/accel/<n >/command_buffers
17
+ What: /sys/kernel/debug/accel/<parent_device >/command_buffers
18
18
Date: Jan 2019
19
19
KernelVersion: 5.1
20
20
Contact: ogabbay@kernel.org
21
21
Description: Displays a list with information about the currently allocated
22
22
command buffers
23
23
24
- What: /sys/kernel/debug/accel/<n >/command_submission
24
+ What: /sys/kernel/debug/accel/<parent_device >/command_submission
25
25
Date: Jan 2019
26
26
KernelVersion: 5.1
27
27
Contact: ogabbay@kernel.org
28
28
Description: Displays a list with information about the currently active
29
29
command submissions
30
30
31
- What: /sys/kernel/debug/accel/<n >/command_submission_jobs
31
+ What: /sys/kernel/debug/accel/<parent_device >/command_submission_jobs
32
32
Date: Jan 2019
33
33
KernelVersion: 5.1
34
34
Contact: ogabbay@kernel.org
35
35
Description: Displays a list with detailed information about each JOB (CB) of
36
36
each active command submission
37
37
38
- What: /sys/kernel/debug/accel/<n >/data32
38
+ What: /sys/kernel/debug/accel/<parent_device >/data32
39
39
Date: Jan 2019
40
40
KernelVersion: 5.1
41
41
Contact: ogabbay@kernel.org
@@ -50,7 +50,7 @@ Description: Allows the root user to read or write directly through the
50
50
If the IOMMU is disabled, it also allows the root user to read
51
51
or write from the host a device VA of a host mapped memory
52
52
53
- What: /sys/kernel/debug/accel/<n >/data64
53
+ What: /sys/kernel/debug/accel/<parent_device >/data64
54
54
Date: Jan 2020
55
55
KernelVersion: 5.6
56
56
Contact: ogabbay@kernel.org
@@ -65,7 +65,7 @@ Description: Allows the root user to read or write 64 bit data directly
65
65
If the IOMMU is disabled, it also allows the root user to read
66
66
or write from the host a device VA of a host mapped memory
67
67
68
- What: /sys/kernel/debug/accel/<n >/data_dma
68
+ What: /sys/kernel/debug/accel/<parent_device >/data_dma
69
69
Date: Apr 2021
70
70
KernelVersion: 5.13
71
71
Contact: ogabbay@kernel.org
@@ -83,22 +83,22 @@ Description: Allows the root user to read from the device's internal
83
83
workloads.
84
84
Only supported on GAUDI at this stage.
85
85
86
- What: /sys/kernel/debug/accel/<n >/device
86
+ What: /sys/kernel/debug/accel/<parent_device >/device
87
87
Date: Jan 2019
88
88
KernelVersion: 5.1
89
89
Contact: ogabbay@kernel.org
90
90
Description: Enables the root user to set the device to specific state.
91
91
Valid values are "disable", "enable", "suspend", "resume".
92
92
User can read this property to see the valid values
93
93
94
- What: /sys/kernel/debug/accel/<n >/device_release_watchdog_timeout
94
+ What: /sys/kernel/debug/accel/<parent_device >/device_release_watchdog_timeout
95
95
Date: Oct 2022
96
96
KernelVersion: 6.2
97
97
Contact: ttayar@habana.ai
98
98
Description: The watchdog timeout value in seconds for a device release upon
99
99
certain error cases, after which the device is reset.
100
100
101
- What: /sys/kernel/debug/accel/<n >/dma_size
101
+ What: /sys/kernel/debug/accel/<parent_device >/dma_size
102
102
Date: Apr 2021
103
103
KernelVersion: 5.13
104
104
Contact: ogabbay@kernel.org
@@ -108,7 +108,7 @@ Description: Specify the size of the DMA transaction when using DMA to read
108
108
When the write is finished, the user can read the "data_dma"
109
109
blob
110
110
111
- What: /sys/kernel/debug/accel/<n >/dump_razwi_events
111
+ What: /sys/kernel/debug/accel/<parent_device >/dump_razwi_events
112
112
Date: Aug 2022
113
113
KernelVersion: 5.20
114
114
Contact: fkassabri@habana.ai
@@ -117,38 +117,38 @@ Description: Dumps all razwi events to dmesg if exist.
117
117
the routine will clear the status register.
118
118
Usage: cat dump_razwi_events
119
119
120
- What: /sys/kernel/debug/accel/<n >/dump_security_violations
120
+ What: /sys/kernel/debug/accel/<parent_device >/dump_security_violations
121
121
Date: Jan 2021
122
122
KernelVersion: 5.12
123
123
Contact: ogabbay@kernel.org
124
124
Description: Dumps all security violations to dmesg. This will also ack
125
125
all security violations meanings those violations will not be
126
126
dumped next time user calls this API
127
127
128
- What: /sys/kernel/debug/accel/<n >/engines
128
+ What: /sys/kernel/debug/accel/<parent_device >/engines
129
129
Date: Jul 2019
130
130
KernelVersion: 5.3
131
131
Contact: ogabbay@kernel.org
132
132
Description: Displays the status registers values of the device engines and
133
133
their derived idle status
134
134
135
- What: /sys/kernel/debug/accel/<n >/i2c_addr
135
+ What: /sys/kernel/debug/accel/<parent_device >/i2c_addr
136
136
Date: Jan 2019
137
137
KernelVersion: 5.1
138
138
Contact: ogabbay@kernel.org
139
139
Description: Sets I2C device address for I2C transaction that is generated
140
140
by the device's CPU, Not available when device is loaded with secured
141
141
firmware
142
142
143
- What: /sys/kernel/debug/accel/<n >/i2c_bus
143
+ What: /sys/kernel/debug/accel/<parent_device >/i2c_bus
144
144
Date: Jan 2019
145
145
KernelVersion: 5.1
146
146
Contact: ogabbay@kernel.org
147
147
Description: Sets I2C bus address for I2C transaction that is generated by
148
148
the device's CPU, Not available when device is loaded with secured
149
149
firmware
150
150
151
- What: /sys/kernel/debug/accel/<n >/i2c_data
151
+ What: /sys/kernel/debug/accel/<parent_device >/i2c_data
152
152
Date: Jan 2019
153
153
KernelVersion: 5.1
154
154
Contact: ogabbay@kernel.org
@@ -157,59 +157,59 @@ Description: Triggers an I2C transaction that is generated by the device's
157
157
reading from the file generates a read transaction, Not available
158
158
when device is loaded with secured firmware
159
159
160
- What: /sys/kernel/debug/accel/<n >/i2c_len
160
+ What: /sys/kernel/debug/accel/<parent_device >/i2c_len
161
161
Date: Dec 2021
162
162
KernelVersion: 5.17
163
163
Contact: obitton@habana.ai
164
164
Description: Sets I2C length in bytes for I2C transaction that is generated by
165
165
the device's CPU, Not available when device is loaded with secured
166
166
firmware
167
167
168
- What: /sys/kernel/debug/accel/<n >/i2c_reg
168
+ What: /sys/kernel/debug/accel/<parent_device >/i2c_reg
169
169
Date: Jan 2019
170
170
KernelVersion: 5.1
171
171
Contact: ogabbay@kernel.org
172
172
Description: Sets I2C register id for I2C transaction that is generated by
173
173
the device's CPU, Not available when device is loaded with secured
174
174
firmware
175
175
176
- What: /sys/kernel/debug/accel/<n >/led0
176
+ What: /sys/kernel/debug/accel/<parent_device >/led0
177
177
Date: Jan 2019
178
178
KernelVersion: 5.1
179
179
Contact: ogabbay@kernel.org
180
180
Description: Sets the state of the first S/W led on the device, Not available
181
181
when device is loaded with secured firmware
182
182
183
- What: /sys/kernel/debug/accel/<n >/led1
183
+ What: /sys/kernel/debug/accel/<parent_device >/led1
184
184
Date: Jan 2019
185
185
KernelVersion: 5.1
186
186
Contact: ogabbay@kernel.org
187
187
Description: Sets the state of the second S/W led on the device, Not available
188
188
when device is loaded with secured firmware
189
189
190
- What: /sys/kernel/debug/accel/<n >/led2
190
+ What: /sys/kernel/debug/accel/<parent_device >/led2
191
191
Date: Jan 2019
192
192
KernelVersion: 5.1
193
193
Contact: ogabbay@kernel.org
194
194
Description: Sets the state of the third S/W led on the device, Not available
195
195
when device is loaded with secured firmware
196
196
197
- What: /sys/kernel/debug/accel/<n >/memory_scrub
197
+ What: /sys/kernel/debug/accel/<parent_device >/memory_scrub
198
198
Date: May 2022
199
199
KernelVersion: 5.19
200
200
Contact: dhirschfeld@habana.ai
201
201
Description: Allows the root user to scrub the dram memory. The scrubbing
202
202
value can be set using the debugfs file memory_scrub_val.
203
203
204
- What: /sys/kernel/debug/accel/<n >/memory_scrub_val
204
+ What: /sys/kernel/debug/accel/<parent_device >/memory_scrub_val
205
205
Date: May 2022
206
206
KernelVersion: 5.19
207
207
Contact: dhirschfeld@habana.ai
208
208
Description: The value to which the dram will be set to when the user
209
209
scrubs the dram using 'memory_scrub' debugfs file and
210
210
the scrubbing value when using module param 'memory_scrub'
211
211
212
- What: /sys/kernel/debug/accel/<n >/mmu
212
+ What: /sys/kernel/debug/accel/<parent_device >/mmu
213
213
Date: Jan 2019
214
214
KernelVersion: 5.1
215
215
Contact: ogabbay@kernel.org
@@ -219,7 +219,7 @@ Description: Displays the hop values and physical address for a given ASID
219
219
e.g. to display info about VA 0x1000 for ASID 1 you need to do:
220
220
echo "1 0x1000" > /sys/kernel/debug/accel/0/mmu
221
221
222
- What: /sys/kernel/debug/accel/<n >/mmu_error
222
+ What: /sys/kernel/debug/accel/<parent_device >/mmu_error
223
223
Date: Mar 2021
224
224
KernelVersion: 5.12
225
225
Contact: fkassabri@habana.ai
@@ -229,7 +229,7 @@ Description: Check and display page fault or access violation mmu errors for
229
229
echo "0x200" > /sys/kernel/debug/accel/0/mmu_error
230
230
cat /sys/kernel/debug/accel/0/mmu_error
231
231
232
- What: /sys/kernel/debug/accel/<n >/monitor_dump
232
+ What: /sys/kernel/debug/accel/<parent_device >/monitor_dump
233
233
Date: Mar 2022
234
234
KernelVersion: 5.19
235
235
Contact: osharabi@habana.ai
@@ -243,7 +243,7 @@ Description: Allows the root user to dump monitors status from the device's
243
243
This interface doesn't support concurrency in the same device.
244
244
Only supported on GAUDI.
245
245
246
- What: /sys/kernel/debug/accel/<n >/monitor_dump_trig
246
+ What: /sys/kernel/debug/accel/<parent_device >/monitor_dump_trig
247
247
Date: Mar 2022
248
248
KernelVersion: 5.19
249
249
Contact: osharabi@habana.ai
@@ -253,22 +253,22 @@ Description: Triggers dump of monitor data. The value to trigger the operatio
253
253
When the write is finished, the user can read the "monitor_dump"
254
254
blob
255
255
256
- What: /sys/kernel/debug/accel/<n >/set_power_state
256
+ What: /sys/kernel/debug/accel/<parent_device >/set_power_state
257
257
Date: Jan 2019
258
258
KernelVersion: 5.1
259
259
Contact: ogabbay@kernel.org
260
260
Description: Sets the PCI power state. Valid values are "1" for D0 and "2"
261
261
for D3Hot
262
262
263
- What: /sys/kernel/debug/accel/<n >/skip_reset_on_timeout
263
+ What: /sys/kernel/debug/accel/<parent_device >/skip_reset_on_timeout
264
264
Date: Jun 2021
265
265
KernelVersion: 5.13
266
266
Contact: ynudelman@habana.ai
267
267
Description: Sets the skip reset on timeout option for the device. Value of
268
268
"0" means device will be reset in case some CS has timed out,
269
269
otherwise it will not be reset.
270
270
271
- What: /sys/kernel/debug/accel/<n >/state_dump
271
+ What: /sys/kernel/debug/accel/<parent_device >/state_dump
272
272
Date: Oct 2021
273
273
KernelVersion: 5.15
274
274
Contact: ynudelman@habana.ai
@@ -279,37 +279,37 @@ Description: Gets the state dump occurring on a CS timeout or failure.
279
279
Writing an integer X discards X state dumps, so that the
280
280
next read would return X+1-st newest state dump.
281
281
282
- What: /sys/kernel/debug/accel/<n >/stop_on_err
282
+ What: /sys/kernel/debug/accel/<parent_device >/stop_on_err
283
283
Date: Mar 2020
284
284
KernelVersion: 5.6
285
285
Contact: ogabbay@kernel.org
286
286
Description: Sets the stop-on_error option for the device engines. Value of
287
287
"0" is for disable, otherwise enable.
288
288
Relevant only for GOYA and GAUDI.
289
289
290
- What: /sys/kernel/debug/accel/<n >/timeout_locked
290
+ What: /sys/kernel/debug/accel/<parent_device >/timeout_locked
291
291
Date: Sep 2021
292
292
KernelVersion: 5.16
293
293
Contact: obitton@habana.ai
294
294
Description: Sets the command submission timeout value in seconds.
295
295
296
- What: /sys/kernel/debug/accel/<n >/userptr
296
+ What: /sys/kernel/debug/accel/<parent_device >/userptr
297
297
Date: Jan 2019
298
298
KernelVersion: 5.1
299
299
Contact: ogabbay@kernel.org
300
300
Description: Displays a list with information about the current user
301
301
pointers (user virtual addresses) that are pinned and mapped
302
302
to DMA addresses
303
303
304
- What: /sys/kernel/debug/accel/<n >/userptr_lookup
304
+ What: /sys/kernel/debug/accel/<parent_device >/userptr_lookup
305
305
Date: Oct 2021
306
306
KernelVersion: 5.15
307
307
Contact: ogabbay@kernel.org
308
308
Description: Allows to search for specific user pointers (user virtual
309
309
addresses) that are pinned and mapped to DMA addresses, and see
310
310
their resolution to the specific dma address.
311
311
312
- What: /sys/kernel/debug/accel/<n >/vm
312
+ What: /sys/kernel/debug/accel/<parent_device >/vm
313
313
Date: Jan 2019
314
314
KernelVersion: 5.1
315
315
Contact: ogabbay@kernel.org
0 commit comments