hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm4x
....@@ -1,4 +1,4 @@
1
-What: /sys/bus/coresight/devices/<memory_map>.etm/enable_source
1
+What: /sys/bus/coresight/devices/etm<N>/enable_source
22 Date: April 2015
33 KernelVersion: 4.01
44 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
....@@ -8,82 +8,82 @@
88 of coresight components linking the source to the sink is
99 configured and managed automatically by the coresight framework.
1010
11
-What: /sys/bus/coresight/devices/<memory_map>.etm/cpu
11
+What: /sys/bus/coresight/devices/etm<N>/cpu
1212 Date: April 2015
1313 KernelVersion: 4.01
1414 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
15
-Description: (R) The CPU this tracing entity is associated with.
15
+Description: (Read) The CPU this tracing entity is associated with.
1616
17
-What: /sys/bus/coresight/devices/<memory_map>.etm/nr_pe_cmp
17
+What: /sys/bus/coresight/devices/etm<N>/nr_pe_cmp
1818 Date: April 2015
1919 KernelVersion: 4.01
2020 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
21
-Description: (R) Indicates the number of PE comparator inputs that are
21
+Description: (Read) Indicates the number of PE comparator inputs that are
2222 available for tracing.
2323
24
-What: /sys/bus/coresight/devices/<memory_map>.etm/nr_addr_cmp
24
+What: /sys/bus/coresight/devices/etm<N>/nr_addr_cmp
2525 Date: April 2015
2626 KernelVersion: 4.01
2727 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
28
-Description: (R) Indicates the number of address comparator pairs that are
28
+Description: (Read) Indicates the number of address comparator pairs that are
2929 available for tracing.
3030
31
-What: /sys/bus/coresight/devices/<memory_map>.etm/nr_cntr
31
+What: /sys/bus/coresight/devices/etm<N>/nr_cntr
3232 Date: April 2015
3333 KernelVersion: 4.01
3434 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
35
-Description: (R) Indicates the number of counters that are available for
35
+Description: (Read) Indicates the number of counters that are available for
3636 tracing.
3737
38
-What: /sys/bus/coresight/devices/<memory_map>.etm/nr_ext_inp
38
+What: /sys/bus/coresight/devices/etm<N>/nr_ext_inp
3939 Date: April 2015
4040 KernelVersion: 4.01
4141 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
42
-Description: (R) Indicates how many external inputs are implemented.
42
+Description: (Read) Indicates how many external inputs are implemented.
4343
44
-What: /sys/bus/coresight/devices/<memory_map>.etm/numcidc
44
+What: /sys/bus/coresight/devices/etm<N>/numcidc
4545 Date: April 2015
4646 KernelVersion: 4.01
4747 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
48
-Description: (R) Indicates the number of Context ID comparators that are
48
+Description: (Read) Indicates the number of Context ID comparators that are
4949 available for tracing.
5050
51
-What: /sys/bus/coresight/devices/<memory_map>.etm/numvmidc
51
+What: /sys/bus/coresight/devices/etm<N>/numvmidc
5252 Date: April 2015
5353 KernelVersion: 4.01
5454 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
55
-Description: (R) Indicates the number of VMID comparators that are available
55
+Description: (Read) Indicates the number of VMID comparators that are available
5656 for tracing.
5757
58
-What: /sys/bus/coresight/devices/<memory_map>.etm/nrseqstate
58
+What: /sys/bus/coresight/devices/etm<N>/nrseqstate
5959 Date: April 2015
6060 KernelVersion: 4.01
6161 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
62
-Description: (R) Indicates the number of sequencer states that are
62
+Description: (Read) Indicates the number of sequencer states that are
6363 implemented.
6464
65
-What: /sys/bus/coresight/devices/<memory_map>.etm/nr_resource
65
+What: /sys/bus/coresight/devices/etm<N>/nr_resource
6666 Date: April 2015
6767 KernelVersion: 4.01
6868 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
69
-Description: (R) Indicates the number of resource selection pairs that are
69
+Description: (Read) Indicates the number of resource selection pairs that are
7070 available for tracing.
7171
72
-What: /sys/bus/coresight/devices/<memory_map>.etm/nr_ss_cmp
72
+What: /sys/bus/coresight/devices/etm<N>/nr_ss_cmp
7373 Date: April 2015
7474 KernelVersion: 4.01
7575 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
76
-Description: (R) Indicates the number of single-shot comparator controls that
76
+Description: (Read) Indicates the number of single-shot comparator controls that
7777 are available for tracing.
7878
79
-What: /sys/bus/coresight/devices/<memory_map>.etm/reset
79
+What: /sys/bus/coresight/devices/etm<N>/reset
8080 Date: April 2015
8181 KernelVersion: 4.01
8282 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
83
-Description: (W) Cancels all configuration on a trace unit and set it back
83
+Description: (Write) Cancels all configuration on a trace unit and set it back
8484 to its boot configuration.
8585
86
-What: /sys/bus/coresight/devices/<memory_map>.etm/mode
86
+What: /sys/bus/coresight/devices/etm<N>/mode
8787 Date: April 2015
8888 KernelVersion: 4.01
8989 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
....@@ -91,373 +91,428 @@
9191 P0 instruction tracing, branch broadcast, cycle counting and
9292 context ID tracing.
9393
94
-What: /sys/bus/coresight/devices/<memory_map>.etm/pe
94
+What: /sys/bus/coresight/devices/etm<N>/pe
9595 Date: April 2015
9696 KernelVersion: 4.01
9797 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
9898 Description: (RW) Controls which PE to trace.
9999
100
-What: /sys/bus/coresight/devices/<memory_map>.etm/event
100
+What: /sys/bus/coresight/devices/etm<N>/event
101101 Date: April 2015
102102 KernelVersion: 4.01
103103 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
104104 Description: (RW) Controls the tracing of arbitrary events from bank 0 to 3.
105105
106
-What: /sys/bus/coresight/devices/<memory_map>.etm/event_instren
106
+What: /sys/bus/coresight/devices/etm<N>/event_instren
107107 Date: April 2015
108108 KernelVersion: 4.01
109109 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
110110 Description: (RW) Controls the behavior of the events in bank 0 to 3.
111111
112
-What: /sys/bus/coresight/devices/<memory_map>.etm/event_ts
112
+What: /sys/bus/coresight/devices/etm<N>/event_ts
113113 Date: April 2015
114114 KernelVersion: 4.01
115115 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
116116 Description: (RW) Controls the insertion of global timestamps in the trace
117117 streams.
118118
119
-What: /sys/bus/coresight/devices/<memory_map>.etm/syncfreq
119
+What: /sys/bus/coresight/devices/etm<N>/syncfreq
120120 Date: April 2015
121121 KernelVersion: 4.01
122122 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
123123 Description: (RW) Controls how often trace synchronization requests occur.
124124
125
-What: /sys/bus/coresight/devices/<memory_map>.etm/cyc_threshold
125
+What: /sys/bus/coresight/devices/etm<N>/cyc_threshold
126126 Date: April 2015
127127 KernelVersion: 4.01
128128 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
129129 Description: (RW) Sets the threshold value for cycle counting.
130130
131
-What: /sys/bus/coresight/devices/<memory_map>.etm/bb_ctrl
131
+What: /sys/bus/coresight/devices/etm<N>/bb_ctrl
132132 Date: April 2015
133133 KernelVersion: 4.01
134134 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
135135 Description: (RW) Controls which regions in the memory map are enabled to
136136 use branch broadcasting.
137137
138
-What: /sys/bus/coresight/devices/<memory_map>.etm/event_vinst
138
+What: /sys/bus/coresight/devices/etm<N>/event_vinst
139139 Date: April 2015
140140 KernelVersion: 4.01
141141 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
142142 Description: (RW) Controls instruction trace filtering.
143143
144
-What: /sys/bus/coresight/devices/<memory_map>.etm/s_exlevel_vinst
144
+What: /sys/bus/coresight/devices/etm<N>/s_exlevel_vinst
145145 Date: April 2015
146146 KernelVersion: 4.01
147147 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
148148 Description: (RW) In Secure state, each bit controls whether instruction
149149 tracing is enabled for the corresponding exception level.
150150
151
-What: /sys/bus/coresight/devices/<memory_map>.etm/ns_exlevel_vinst
151
+What: /sys/bus/coresight/devices/etm<N>/ns_exlevel_vinst
152152 Date: April 2015
153153 KernelVersion: 4.01
154154 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
155155 Description: (RW) In non-secure state, each bit controls whether instruction
156156 tracing is enabled for the corresponding exception level.
157157
158
-What: /sys/bus/coresight/devices/<memory_map>.etm/addr_idx
158
+What: /sys/bus/coresight/devices/etm<N>/addr_idx
159159 Date: April 2015
160160 KernelVersion: 4.01
161161 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
162162 Description: (RW) Select which address comparator or pair (of comparators) to
163163 work with.
164164
165
-What: /sys/bus/coresight/devices/<memory_map>.etm/addr_instdatatype
165
+What: /sys/bus/coresight/devices/etm<N>/addr_instdatatype
166166 Date: April 2015
167167 KernelVersion: 4.01
168168 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
169169 Description: (RW) Controls what type of comparison the trace unit performs.
170170
171
-What: /sys/bus/coresight/devices/<memory_map>.etm/addr_single
171
+What: /sys/bus/coresight/devices/etm<N>/addr_single
172172 Date: April 2015
173173 KernelVersion: 4.01
174174 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
175175 Description: (RW) Used to setup single address comparator values.
176176
177
-What: /sys/bus/coresight/devices/<memory_map>.etm/addr_range
177
+What: /sys/bus/coresight/devices/etm<N>/addr_range
178178 Date: April 2015
179179 KernelVersion: 4.01
180180 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
181181 Description: (RW) Used to setup address range comparator values.
182182
183
-What: /sys/bus/coresight/devices/<memory_map>.etm/seq_idx
183
+What: /sys/bus/coresight/devices/etm<N>/seq_idx
184184 Date: April 2015
185185 KernelVersion: 4.01
186186 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
187187 Description: (RW) Select which sequensor.
188188
189
-What: /sys/bus/coresight/devices/<memory_map>.etm/seq_state
189
+What: /sys/bus/coresight/devices/etm<N>/seq_state
190190 Date: April 2015
191191 KernelVersion: 4.01
192192 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
193193 Description: (RW) Use this to set, or read, the sequencer state.
194194
195
-What: /sys/bus/coresight/devices/<memory_map>.etm/seq_event
195
+What: /sys/bus/coresight/devices/etm<N>/seq_event
196196 Date: April 2015
197197 KernelVersion: 4.01
198198 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
199199 Description: (RW) Moves the sequencer state to a specific state.
200200
201
-What: /sys/bus/coresight/devices/<memory_map>.etm/seq_reset_event
201
+What: /sys/bus/coresight/devices/etm<N>/seq_reset_event
202202 Date: April 2015
203203 KernelVersion: 4.01
204204 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
205205 Description: (RW) Moves the sequencer to state 0 when a programmed event
206206 occurs.
207207
208
-What: /sys/bus/coresight/devices/<memory_map>.etm/cntr_idx
208
+What: /sys/bus/coresight/devices/etm<N>/cntr_idx
209209 Date: April 2015
210210 KernelVersion: 4.01
211211 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
212212 Description: (RW) Select which counter unit to work with.
213213
214
-What: /sys/bus/coresight/devices/<memory_map>.etm/cntrldvr
214
+What: /sys/bus/coresight/devices/etm<N>/cntrldvr
215215 Date: April 2015
216216 KernelVersion: 4.01
217217 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
218218 Description: (RW) This sets or returns the reload count value of the
219219 specific counter.
220220
221
-What: /sys/bus/coresight/devices/<memory_map>.etm/cntr_val
221
+What: /sys/bus/coresight/devices/etm<N>/cntr_val
222222 Date: April 2015
223223 KernelVersion: 4.01
224224 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
225225 Description: (RW) This sets or returns the current count value of the
226226 specific counter.
227227
228
-What: /sys/bus/coresight/devices/<memory_map>.etm/cntr_ctrl
228
+What: /sys/bus/coresight/devices/etm<N>/cntr_ctrl
229229 Date: April 2015
230230 KernelVersion: 4.01
231231 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
232232 Description: (RW) Controls the operation of the selected counter.
233233
234
-What: /sys/bus/coresight/devices/<memory_map>.etm/res_idx
234
+What: /sys/bus/coresight/devices/etm<N>/res_idx
235235 Date: April 2015
236236 KernelVersion: 4.01
237237 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
238238 Description: (RW) Select which resource selection unit to work with.
239239
240
-What: /sys/bus/coresight/devices/<memory_map>.etm/res_ctrl
240
+What: /sys/bus/coresight/devices/etm<N>/res_ctrl
241241 Date: April 2015
242242 KernelVersion: 4.01
243243 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
244244 Description: (RW) Controls the selection of the resources in the trace unit.
245245
246
-What: /sys/bus/coresight/devices/<memory_map>.etm/ctxid_idx
246
+What: /sys/bus/coresight/devices/etm<N>/ctxid_idx
247247 Date: April 2015
248248 KernelVersion: 4.01
249249 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
250250 Description: (RW) Select which context ID comparator to work with.
251251
252
-What: /sys/bus/coresight/devices/<memory_map>.etm/ctxid_pid
252
+What: /sys/bus/coresight/devices/etm<N>/ctxid_pid
253253 Date: April 2015
254254 KernelVersion: 4.01
255255 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
256256 Description: (RW) Get/Set the context ID comparator value to trigger on.
257257
258
-What: /sys/bus/coresight/devices/<memory_map>.etm/ctxid_masks
258
+What: /sys/bus/coresight/devices/etm<N>/ctxid_masks
259259 Date: April 2015
260260 KernelVersion: 4.01
261261 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
262262 Description: (RW) Mask for all 8 context ID comparator value
263263 registers (if implemented).
264264
265
-What: /sys/bus/coresight/devices/<memory_map>.etm/vmid_idx
265
+What: /sys/bus/coresight/devices/etm<N>/vmid_idx
266266 Date: April 2015
267267 KernelVersion: 4.01
268268 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
269269 Description: (RW) Select which virtual machine ID comparator to work with.
270270
271
-What: /sys/bus/coresight/devices/<memory_map>.etm/vmid_val
271
+What: /sys/bus/coresight/devices/etm<N>/vmid_val
272272 Date: April 2015
273273 KernelVersion: 4.01
274274 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
275275 Description: (RW) Get/Set the virtual machine ID comparator value to
276276 trigger on.
277277
278
-What: /sys/bus/coresight/devices/<memory_map>.etm/vmid_masks
278
+What: /sys/bus/coresight/devices/etm<N>/vmid_masks
279279 Date: April 2015
280280 KernelVersion: 4.01
281281 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
282282 Description: (RW) Mask for all 8 virtual machine ID comparator value
283283 registers (if implemented).
284284
285
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcoslsr
285
+What: /sys/bus/coresight/devices/etm<N>/addr_exlevel_s_ns
286
+Date: December 2019
287
+KernelVersion: 5.5
288
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
289
+Description: (RW) Set the Exception Level matching bits for secure and
290
+ non-secure exception levels.
291
+
292
+What: /sys/bus/coresight/devices/etm<N>/vinst_pe_cmp_start_stop
293
+Date: December 2019
294
+KernelVersion: 5.5
295
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
296
+Description: (RW) Access the start stop control register for PE input
297
+ comparators.
298
+
299
+What: /sys/bus/coresight/devices/etm<N>/addr_cmp_view
300
+Date: December 2019
301
+KernelVersion: 5.5
302
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
303
+Description: (Read) Print the current settings for the selected address
304
+ comparator.
305
+
306
+What: /sys/bus/coresight/devices/etm<N>/sshot_idx
307
+Date: December 2019
308
+KernelVersion: 5.5
309
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
310
+Description: (RW) Select the single shot control register to access.
311
+
312
+What: /sys/bus/coresight/devices/etm<N>/sshot_ctrl
313
+Date: December 2019
314
+KernelVersion: 5.5
315
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
316
+Description: (RW) Access the selected single shot control register.
317
+
318
+What: /sys/bus/coresight/devices/etm<N>/sshot_status
319
+Date: December 2019
320
+KernelVersion: 5.5
321
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
322
+Description: (Read) Print the current value of the selected single shot
323
+ status register.
324
+
325
+What: /sys/bus/coresight/devices/etm<N>/sshot_pe_ctrl
326
+Date: December 2019
327
+KernelVersion: 5.5
328
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
329
+Description: (RW) Access the selected single show PE comparator control
330
+ register.
331
+
332
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcoslsr
286333 Date: April 2015
287334 KernelVersion: 4.01
288335 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
289
-Description: (R) Print the content of the OS Lock Status Register (0x304).
336
+Description: (Read) Print the content of the OS Lock Status Register (0x304).
290337 The value it taken directly from the HW.
291338
292
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpdcr
339
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpdcr
293340 Date: April 2015
294341 KernelVersion: 4.01
295342 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
296
-Description: (R) Print the content of the Power Down Control Register
343
+Description: (Read) Print the content of the Power Down Control Register
297344 (0x310). The value is taken directly from the HW.
298345
299
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpdsr
346
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpdsr
300347 Date: April 2015
301348 KernelVersion: 4.01
302349 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
303
-Description: (R) Print the content of the Power Down Status Register
350
+Description: (Read) Print the content of the Power Down Status Register
304351 (0x314). The value is taken directly from the HW.
305352
306
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trclsr
353
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trclsr
307354 Date: April 2015
308355 KernelVersion: 4.01
309356 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
310
-Description: (R) Print the content of the SW Lock Status Register
357
+Description: (Read) Print the content of the SW Lock Status Register
311358 (0xFB4). The value is taken directly from the HW.
312359
313
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcauthstatus
360
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcauthstatus
314361 Date: April 2015
315362 KernelVersion: 4.01
316363 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
317
-Description: (R) Print the content of the Authentication Status Register
364
+Description: (Read) Print the content of the Authentication Status Register
318365 (0xFB8). The value is taken directly from the HW.
319366
320
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcdevid
367
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevid
321368 Date: April 2015
322369 KernelVersion: 4.01
323370 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
324
-Description: (R) Print the content of the Device ID Register
371
+Description: (Read) Print the content of the Device ID Register
325372 (0xFC8). The value is taken directly from the HW.
326373
327
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcdevtype
374
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevarch
375
+Date: January 2021
376
+KernelVersion: 5.12
377
+Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
378
+Description: (Read) Print the content of the Device Architecture Register
379
+ (offset 0xFBC). The value is taken directly read
380
+ from the HW.
381
+
382
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevtype
328383 Date: April 2015
329384 KernelVersion: 4.01
330385 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
331
-Description: (R) Print the content of the Device Type Register
386
+Description: (Read) Print the content of the Device Type Register
332387 (0xFCC). The value is taken directly from the HW.
333388
334
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr0
389
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr0
335390 Date: April 2015
336391 KernelVersion: 4.01
337392 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
338
-Description: (R) Print the content of the Peripheral ID0 Register
393
+Description: (Read) Print the content of the Peripheral ID0 Register
339394 (0xFE0). The value is taken directly from the HW.
340395
341
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr1
396
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr1
342397 Date: April 2015
343398 KernelVersion: 4.01
344399 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
345
-Description: (R) Print the content of the Peripheral ID1 Register
400
+Description: (Read) Print the content of the Peripheral ID1 Register
346401 (0xFE4). The value is taken directly from the HW.
347402
348
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr2
403
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr2
349404 Date: April 2015
350405 KernelVersion: 4.01
351406 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
352
-Description: (R) Print the content of the Peripheral ID2 Register
407
+Description: (Read) Print the content of the Peripheral ID2 Register
353408 (0xFE8). The value is taken directly from the HW.
354409
355
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr3
410
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr3
356411 Date: April 2015
357412 KernelVersion: 4.01
358413 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
359
-Description: (R) Print the content of the Peripheral ID3 Register
414
+Description: (Read) Print the content of the Peripheral ID3 Register
360415 (0xFEC). The value is taken directly from the HW.
361416
362
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcconfig
417
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trcconfig
363418 Date: February 2016
364419 KernelVersion: 4.07
365420 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
366
-Description: (R) Print the content of the trace configuration register
421
+Description: (Read) Print the content of the trace configuration register
367422 (0x010) as currently set by SW.
368423
369
-What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trctraceid
424
+What: /sys/bus/coresight/devices/etm<N>/mgmt/trctraceid
370425 Date: February 2016
371426 KernelVersion: 4.07
372427 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
373
-Description: (R) Print the content of the trace ID register (0x040).
428
+Description: (Read) Print the content of the trace ID register (0x040).
374429
375
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr0
430
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr0
376431 Date: April 2015
377432 KernelVersion: 4.01
378433 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
379
-Description: (R) Returns the tracing capabilities of the trace unit (0x1E0).
434
+Description: (Read) Returns the tracing capabilities of the trace unit (0x1E0).
380435 The value is taken directly from the HW.
381436
382
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr1
437
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr1
383438 Date: April 2015
384439 KernelVersion: 4.01
385440 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
386
-Description: (R) Returns the tracing capabilities of the trace unit (0x1E4).
441
+Description: (Read) Returns the tracing capabilities of the trace unit (0x1E4).
387442 The value is taken directly from the HW.
388443
389
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr2
444
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr2
390445 Date: April 2015
391446 KernelVersion: 4.01
392447 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
393
-Description: (R) Returns the maximum size of the data value, data address,
448
+Description: (Read) Returns the maximum size of the data value, data address,
394449 VMID, context ID and instuction address in the trace unit
395450 (0x1E8). The value is taken directly from the HW.
396451
397
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr3
452
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr3
398453 Date: April 2015
399454 KernelVersion: 4.01
400455 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
401
-Description: (R) Returns the value associated with various resources
456
+Description: (Read) Returns the value associated with various resources
402457 available to the trace unit. See the Trace Macrocell
403458 architecture specification for more details (0x1E8).
404459 The value is taken directly from the HW.
405460
406
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr4
461
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr4
407462 Date: April 2015
408463 KernelVersion: 4.01
409464 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
410
-Description: (R) Returns how many resources the trace unit supports (0x1F0).
465
+Description: (Read) Returns how many resources the trace unit supports (0x1F0).
411466 The value is taken directly from the HW.
412467
413
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr5
468
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr5
414469 Date: April 2015
415470 KernelVersion: 4.01
416471 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
417
-Description: (R) Returns how many resources the trace unit supports (0x1F4).
472
+Description: (Read) Returns how many resources the trace unit supports (0x1F4).
418473 The value is taken directly from the HW.
419474
420
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr8
475
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr8
421476 Date: April 2015
422477 KernelVersion: 4.01
423478 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
424
-Description: (R) Returns the maximum speculation depth of the instruction
479
+Description: (Read) Returns the maximum speculation depth of the instruction
425480 trace stream. (0x180). The value is taken directly from the HW.
426481
427
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr9
482
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr9
428483 Date: April 2015
429484 KernelVersion: 4.01
430485 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
431
-Description: (R) Returns the number of P0 right-hand keys that the trace unit
486
+Description: (Read) Returns the number of P0 right-hand keys that the trace unit
432487 can use (0x184). The value is taken directly from the HW.
433488
434
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr10
489
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr10
435490 Date: April 2015
436491 KernelVersion: 4.01
437492 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
438
-Description: (R) Returns the number of P1 right-hand keys that the trace unit
493
+Description: (Read) Returns the number of P1 right-hand keys that the trace unit
439494 can use (0x188). The value is taken directly from the HW.
440495
441
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr11
496
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr11
442497 Date: April 2015
443498 KernelVersion: 4.01
444499 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
445
-Description: (R) Returns the number of special P1 right-hand keys that the
500
+Description: (Read) Returns the number of special P1 right-hand keys that the
446501 trace unit can use (0x18C). The value is taken directly from
447502 the HW.
448503
449
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr12
504
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr12
450505 Date: April 2015
451506 KernelVersion: 4.01
452507 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
453
-Description: (R) Returns the number of conditional P1 right-hand keys that
508
+Description: (Read) Returns the number of conditional P1 right-hand keys that
454509 the trace unit can use (0x190). The value is taken directly
455510 from the HW.
456511
457
-What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr13
512
+What: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr13
458513 Date: April 2015
459514 KernelVersion: 4.01
460515 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
461
-Description: (R) Returns the number of special conditional P1 right-hand keys
516
+Description: (Read) Returns the number of special conditional P1 right-hand keys
462517 that the trace unit can use (0x194). The value is taken
463518 directly from the HW.