18c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/enable_source
28c2ecf20Sopenharmony_ciDate:		April 2015
38c2ecf20Sopenharmony_ciKernelVersion:  4.01
48c2ecf20Sopenharmony_ciContact:        Mathieu Poirier <mathieu.poirier@linaro.org>
58c2ecf20Sopenharmony_ciDescription:	(RW) Enable/disable tracing on this specific trace entiry.
68c2ecf20Sopenharmony_ci		Enabling a source implies the source has been configured
78c2ecf20Sopenharmony_ci		properly and a sink has been identidifed for it.  The path
88c2ecf20Sopenharmony_ci		of coresight components linking the source to the sink is
98c2ecf20Sopenharmony_ci		configured and managed automatically by the coresight framework.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/cpu
128c2ecf20Sopenharmony_ciDate:		April 2015
138c2ecf20Sopenharmony_ciKernelVersion:	4.01
148c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
158c2ecf20Sopenharmony_ciDescription:	(Read) The CPU this tracing entity is associated with.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/nr_pe_cmp
188c2ecf20Sopenharmony_ciDate:		April 2015
198c2ecf20Sopenharmony_ciKernelVersion:	4.01
208c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
218c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of PE comparator inputs that are
228c2ecf20Sopenharmony_ci		available for tracing.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/nr_addr_cmp
258c2ecf20Sopenharmony_ciDate:		April 2015
268c2ecf20Sopenharmony_ciKernelVersion:	4.01
278c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
288c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of address comparator pairs that are
298c2ecf20Sopenharmony_ci		available for tracing.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/nr_cntr
328c2ecf20Sopenharmony_ciDate:		April 2015
338c2ecf20Sopenharmony_ciKernelVersion:	4.01
348c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
358c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of counters that are available for
368c2ecf20Sopenharmony_ci		tracing.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/nr_ext_inp
398c2ecf20Sopenharmony_ciDate:		April 2015
408c2ecf20Sopenharmony_ciKernelVersion:	4.01
418c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
428c2ecf20Sopenharmony_ciDescription:	(Read) Indicates how many external inputs are implemented.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/numcidc
458c2ecf20Sopenharmony_ciDate:		April 2015
468c2ecf20Sopenharmony_ciKernelVersion:	4.01
478c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
488c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of Context ID comparators that are
498c2ecf20Sopenharmony_ci		available for tracing.
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/numvmidc
528c2ecf20Sopenharmony_ciDate:		April 2015
538c2ecf20Sopenharmony_ciKernelVersion:	4.01
548c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
558c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of VMID comparators that are available
568c2ecf20Sopenharmony_ci		for tracing.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/nrseqstate
598c2ecf20Sopenharmony_ciDate:		April 2015
608c2ecf20Sopenharmony_ciKernelVersion:	4.01
618c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
628c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of sequencer states that are
638c2ecf20Sopenharmony_ci		implemented.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/nr_resource
668c2ecf20Sopenharmony_ciDate:		April 2015
678c2ecf20Sopenharmony_ciKernelVersion:	4.01
688c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
698c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of resource selection pairs that are
708c2ecf20Sopenharmony_ci		available for tracing.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/nr_ss_cmp
738c2ecf20Sopenharmony_ciDate:		April 2015
748c2ecf20Sopenharmony_ciKernelVersion:	4.01
758c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
768c2ecf20Sopenharmony_ciDescription:	(Read) Indicates the number of single-shot comparator controls that
778c2ecf20Sopenharmony_ci		are available for tracing.
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/reset
808c2ecf20Sopenharmony_ciDate:		April 2015
818c2ecf20Sopenharmony_ciKernelVersion:	4.01
828c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
838c2ecf20Sopenharmony_ciDescription: 	(Write) Cancels all configuration on a trace unit and set it back
848c2ecf20Sopenharmony_ci		to its boot configuration.
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mode
878c2ecf20Sopenharmony_ciDate:		April 2015
888c2ecf20Sopenharmony_ciKernelVersion:	4.01
898c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
908c2ecf20Sopenharmony_ciDescription: 	(RW) Controls various modes supported by this ETM, for example
918c2ecf20Sopenharmony_ci		P0 instruction tracing, branch broadcast, cycle counting and
928c2ecf20Sopenharmony_ci		context ID tracing.
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/pe
958c2ecf20Sopenharmony_ciDate:		April 2015
968c2ecf20Sopenharmony_ciKernelVersion:	4.01
978c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
988c2ecf20Sopenharmony_ciDescription: 	(RW) Controls which PE to trace.
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/event
1018c2ecf20Sopenharmony_ciDate:		April 2015
1028c2ecf20Sopenharmony_ciKernelVersion:	4.01
1038c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1048c2ecf20Sopenharmony_ciDescription: 	(RW) Controls the tracing of arbitrary events from bank 0 to 3.
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/event_instren
1078c2ecf20Sopenharmony_ciDate:		April 2015
1088c2ecf20Sopenharmony_ciKernelVersion:	4.01
1098c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1108c2ecf20Sopenharmony_ciDescription: 	(RW) Controls the behavior of the events in bank 0 to 3.
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/event_ts
1138c2ecf20Sopenharmony_ciDate:		April 2015
1148c2ecf20Sopenharmony_ciKernelVersion:	4.01
1158c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1168c2ecf20Sopenharmony_ciDescription: 	(RW) Controls the insertion of global timestamps in the trace
1178c2ecf20Sopenharmony_ci		streams.
1188c2ecf20Sopenharmony_ci
1198c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/syncfreq
1208c2ecf20Sopenharmony_ciDate:		April 2015
1218c2ecf20Sopenharmony_ciKernelVersion:	4.01
1228c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1238c2ecf20Sopenharmony_ciDescription: 	(RW) Controls how often trace synchronization requests occur.
1248c2ecf20Sopenharmony_ci
1258c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/cyc_threshold
1268c2ecf20Sopenharmony_ciDate:		April 2015
1278c2ecf20Sopenharmony_ciKernelVersion:	4.01
1288c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1298c2ecf20Sopenharmony_ciDescription: 	(RW) Sets the threshold value for cycle counting.
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/bb_ctrl
1328c2ecf20Sopenharmony_ciDate:		April 2015
1338c2ecf20Sopenharmony_ciKernelVersion:	4.01
1348c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1358c2ecf20Sopenharmony_ciDescription: 	(RW) Controls which regions in the memory map are enabled to
1368c2ecf20Sopenharmony_ci		use branch broadcasting.
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/event_vinst
1398c2ecf20Sopenharmony_ciDate:		April 2015
1408c2ecf20Sopenharmony_ciKernelVersion:	4.01
1418c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1428c2ecf20Sopenharmony_ciDescription: 	(RW) Controls instruction trace filtering.
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/s_exlevel_vinst
1458c2ecf20Sopenharmony_ciDate:		April 2015
1468c2ecf20Sopenharmony_ciKernelVersion:	4.01
1478c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1488c2ecf20Sopenharmony_ciDescription: 	(RW) In Secure state, each bit controls whether instruction
1498c2ecf20Sopenharmony_ci		tracing is enabled for the corresponding exception level.
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/ns_exlevel_vinst
1528c2ecf20Sopenharmony_ciDate:		April 2015
1538c2ecf20Sopenharmony_ciKernelVersion:	4.01
1548c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1558c2ecf20Sopenharmony_ciDescription: 	(RW) In non-secure state, each bit controls whether instruction
1568c2ecf20Sopenharmony_ci		tracing is enabled for the corresponding exception level.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/addr_idx
1598c2ecf20Sopenharmony_ciDate:		April 2015
1608c2ecf20Sopenharmony_ciKernelVersion:	4.01
1618c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1628c2ecf20Sopenharmony_ciDescription: 	(RW) Select which address comparator or pair (of comparators) to
1638c2ecf20Sopenharmony_ci		work with.
1648c2ecf20Sopenharmony_ci
1658c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/addr_instdatatype
1668c2ecf20Sopenharmony_ciDate:		April 2015
1678c2ecf20Sopenharmony_ciKernelVersion:	4.01
1688c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1698c2ecf20Sopenharmony_ciDescription: 	(RW) Controls what type of comparison the trace unit performs.
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/addr_single
1728c2ecf20Sopenharmony_ciDate:		April 2015
1738c2ecf20Sopenharmony_ciKernelVersion:	4.01
1748c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1758c2ecf20Sopenharmony_ciDescription: 	(RW) Used to setup single address comparator values.
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/addr_range
1788c2ecf20Sopenharmony_ciDate:		April 2015
1798c2ecf20Sopenharmony_ciKernelVersion:	4.01
1808c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1818c2ecf20Sopenharmony_ciDescription: 	(RW) Used to setup address range comparator values.
1828c2ecf20Sopenharmony_ci
1838c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/seq_idx
1848c2ecf20Sopenharmony_ciDate:		April 2015
1858c2ecf20Sopenharmony_ciKernelVersion:	4.01
1868c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1878c2ecf20Sopenharmony_ciDescription: 	(RW) Select which sequensor.
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/seq_state
1908c2ecf20Sopenharmony_ciDate:		April 2015
1918c2ecf20Sopenharmony_ciKernelVersion:	4.01
1928c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1938c2ecf20Sopenharmony_ciDescription: 	(RW) Use this to set, or read, the sequencer state.
1948c2ecf20Sopenharmony_ci
1958c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/seq_event
1968c2ecf20Sopenharmony_ciDate:		April 2015
1978c2ecf20Sopenharmony_ciKernelVersion:	4.01
1988c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
1998c2ecf20Sopenharmony_ciDescription: 	(RW) Moves the sequencer state to a specific state.
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/seq_reset_event
2028c2ecf20Sopenharmony_ciDate:		April 2015
2038c2ecf20Sopenharmony_ciKernelVersion:	4.01
2048c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2058c2ecf20Sopenharmony_ciDescription: 	(RW) Moves the sequencer to state 0 when a programmed event
2068c2ecf20Sopenharmony_ci		occurs.
2078c2ecf20Sopenharmony_ci
2088c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/cntr_idx
2098c2ecf20Sopenharmony_ciDate:		April 2015
2108c2ecf20Sopenharmony_ciKernelVersion:	4.01
2118c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2128c2ecf20Sopenharmony_ciDescription: 	(RW) Select which counter unit to work with.
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/cntrldvr
2158c2ecf20Sopenharmony_ciDate:		April 2015
2168c2ecf20Sopenharmony_ciKernelVersion:	4.01
2178c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2188c2ecf20Sopenharmony_ciDescription: 	(RW) This sets or returns the reload count value of the
2198c2ecf20Sopenharmony_ci		specific counter.
2208c2ecf20Sopenharmony_ci
2218c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/cntr_val
2228c2ecf20Sopenharmony_ciDate:		April 2015
2238c2ecf20Sopenharmony_ciKernelVersion:	4.01
2248c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2258c2ecf20Sopenharmony_ciDescription: 	(RW) This sets or returns the current count value of the
2268c2ecf20Sopenharmony_ci                specific counter.
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/cntr_ctrl
2298c2ecf20Sopenharmony_ciDate:		April 2015
2308c2ecf20Sopenharmony_ciKernelVersion:	4.01
2318c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2328c2ecf20Sopenharmony_ciDescription: 	(RW) Controls the operation of the selected counter.
2338c2ecf20Sopenharmony_ci
2348c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/res_idx
2358c2ecf20Sopenharmony_ciDate:		April 2015
2368c2ecf20Sopenharmony_ciKernelVersion:	4.01
2378c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2388c2ecf20Sopenharmony_ciDescription: 	(RW) Select which resource selection unit to work with.
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/res_ctrl
2418c2ecf20Sopenharmony_ciDate:		April 2015
2428c2ecf20Sopenharmony_ciKernelVersion:	4.01
2438c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2448c2ecf20Sopenharmony_ciDescription: 	(RW) Controls the selection of the resources in the trace unit.
2458c2ecf20Sopenharmony_ci
2468c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/ctxid_idx
2478c2ecf20Sopenharmony_ciDate:		April 2015
2488c2ecf20Sopenharmony_ciKernelVersion:	4.01
2498c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2508c2ecf20Sopenharmony_ciDescription:	(RW) Select which context ID comparator to work with.
2518c2ecf20Sopenharmony_ci
2528c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/ctxid_pid
2538c2ecf20Sopenharmony_ciDate:		April 2015
2548c2ecf20Sopenharmony_ciKernelVersion:	4.01
2558c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2568c2ecf20Sopenharmony_ciDescription:	(RW) Get/Set the context ID comparator value to trigger on.
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/ctxid_masks
2598c2ecf20Sopenharmony_ciDate:		April 2015
2608c2ecf20Sopenharmony_ciKernelVersion:	4.01
2618c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2628c2ecf20Sopenharmony_ciDescription:	(RW) Mask for all 8 context ID comparator value
2638c2ecf20Sopenharmony_ci		registers (if implemented).
2648c2ecf20Sopenharmony_ci
2658c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/vmid_idx
2668c2ecf20Sopenharmony_ciDate:		April 2015
2678c2ecf20Sopenharmony_ciKernelVersion:	4.01
2688c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2698c2ecf20Sopenharmony_ciDescription:	(RW) Select which virtual machine ID comparator to work with.
2708c2ecf20Sopenharmony_ci
2718c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/vmid_val
2728c2ecf20Sopenharmony_ciDate:		April 2015
2738c2ecf20Sopenharmony_ciKernelVersion:	4.01
2748c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2758c2ecf20Sopenharmony_ciDescription:	(RW) Get/Set the virtual machine ID comparator value to
2768c2ecf20Sopenharmony_ci		trigger on.
2778c2ecf20Sopenharmony_ci
2788c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/vmid_masks
2798c2ecf20Sopenharmony_ciDate:		April 2015
2808c2ecf20Sopenharmony_ciKernelVersion:	4.01
2818c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2828c2ecf20Sopenharmony_ciDescription:	(RW) Mask for all 8 virtual machine ID comparator value
2838c2ecf20Sopenharmony_ci		registers (if implemented).
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/addr_exlevel_s_ns
2868c2ecf20Sopenharmony_ciDate:		December 2019
2878c2ecf20Sopenharmony_ciKernelVersion:	5.5
2888c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2898c2ecf20Sopenharmony_ciDescription:	(RW) Set the Exception Level matching bits for secure and
2908c2ecf20Sopenharmony_ci		non-secure exception levels.
2918c2ecf20Sopenharmony_ci
2928c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/vinst_pe_cmp_start_stop
2938c2ecf20Sopenharmony_ciDate:		December 2019
2948c2ecf20Sopenharmony_ciKernelVersion:	5.5
2958c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
2968c2ecf20Sopenharmony_ciDescription:	(RW) Access the start stop control register for PE input
2978c2ecf20Sopenharmony_ci		comparators.
2988c2ecf20Sopenharmony_ci
2998c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/addr_cmp_view
3008c2ecf20Sopenharmony_ciDate:		December 2019
3018c2ecf20Sopenharmony_ciKernelVersion:	5.5
3028c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3038c2ecf20Sopenharmony_ciDescription:	(Read) Print the current settings for the selected address
3048c2ecf20Sopenharmony_ci		comparator.
3058c2ecf20Sopenharmony_ci
3068c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/sshot_idx
3078c2ecf20Sopenharmony_ciDate:		December 2019
3088c2ecf20Sopenharmony_ciKernelVersion:	5.5
3098c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3108c2ecf20Sopenharmony_ciDescription:	(RW) Select the single shot control register to access.
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/sshot_ctrl
3138c2ecf20Sopenharmony_ciDate:		December 2019
3148c2ecf20Sopenharmony_ciKernelVersion:	5.5
3158c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3168c2ecf20Sopenharmony_ciDescription:	(RW) Access the selected single shot control register.
3178c2ecf20Sopenharmony_ci
3188c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/sshot_status
3198c2ecf20Sopenharmony_ciDate:		December 2019
3208c2ecf20Sopenharmony_ciKernelVersion:	5.5
3218c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3228c2ecf20Sopenharmony_ciDescription:	(Read) Print the current value of the selected single shot
3238c2ecf20Sopenharmony_ci		status register.
3248c2ecf20Sopenharmony_ci
3258c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/sshot_pe_ctrl
3268c2ecf20Sopenharmony_ciDate:		December 2019
3278c2ecf20Sopenharmony_ciKernelVersion:	5.5
3288c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3298c2ecf20Sopenharmony_ciDescription:	(RW) Access the selected single show PE comparator control
3308c2ecf20Sopenharmony_ci		register.
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcoslsr
3338c2ecf20Sopenharmony_ciDate:		April 2015
3348c2ecf20Sopenharmony_ciKernelVersion:	4.01
3358c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3368c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the OS Lock Status Register (0x304).
3378c2ecf20Sopenharmony_ci		The value it taken directly  from the HW.
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcpdcr
3408c2ecf20Sopenharmony_ciDate:		April 2015
3418c2ecf20Sopenharmony_ciKernelVersion:	4.01
3428c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3438c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Power Down Control Register
3448c2ecf20Sopenharmony_ci		(0x310).  The value is taken directly from the HW.
3458c2ecf20Sopenharmony_ci
3468c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcpdsr
3478c2ecf20Sopenharmony_ciDate:		April 2015
3488c2ecf20Sopenharmony_ciKernelVersion:	4.01
3498c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3508c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Power Down Status Register
3518c2ecf20Sopenharmony_ci		(0x314).  The value is taken directly from the HW.
3528c2ecf20Sopenharmony_ci
3538c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trclsr
3548c2ecf20Sopenharmony_ciDate:		April 2015
3558c2ecf20Sopenharmony_ciKernelVersion:	4.01
3568c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3578c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the SW Lock Status Register
3588c2ecf20Sopenharmony_ci		(0xFB4).  The value is taken directly from the HW.
3598c2ecf20Sopenharmony_ci
3608c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcauthstatus
3618c2ecf20Sopenharmony_ciDate:		April 2015
3628c2ecf20Sopenharmony_ciKernelVersion:	4.01
3638c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3648c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Authentication Status Register
3658c2ecf20Sopenharmony_ci		(0xFB8).  The value is taken directly from the HW.
3668c2ecf20Sopenharmony_ci
3678c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcdevid
3688c2ecf20Sopenharmony_ciDate:		April 2015
3698c2ecf20Sopenharmony_ciKernelVersion:	4.01
3708c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3718c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Device ID Register
3728c2ecf20Sopenharmony_ci		(0xFC8).  The value is taken directly from the HW.
3738c2ecf20Sopenharmony_ci
3748c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcdevtype
3758c2ecf20Sopenharmony_ciDate:		April 2015
3768c2ecf20Sopenharmony_ciKernelVersion:	4.01
3778c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3788c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Device Type Register
3798c2ecf20Sopenharmony_ci		(0xFCC).  The value is taken directly from the HW.
3808c2ecf20Sopenharmony_ci
3818c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcpidr0
3828c2ecf20Sopenharmony_ciDate:		April 2015
3838c2ecf20Sopenharmony_ciKernelVersion:	4.01
3848c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3858c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Peripheral ID0 Register
3868c2ecf20Sopenharmony_ci		(0xFE0).  The value is taken directly from the HW.
3878c2ecf20Sopenharmony_ci
3888c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcpidr1
3898c2ecf20Sopenharmony_ciDate:		April 2015
3908c2ecf20Sopenharmony_ciKernelVersion:	4.01
3918c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3928c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Peripheral ID1 Register
3938c2ecf20Sopenharmony_ci		(0xFE4).  The value is taken directly from the HW.
3948c2ecf20Sopenharmony_ci
3958c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcpidr2
3968c2ecf20Sopenharmony_ciDate:		April 2015
3978c2ecf20Sopenharmony_ciKernelVersion:	4.01
3988c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
3998c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Peripheral ID2 Register
4008c2ecf20Sopenharmony_ci		(0xFE8).  The value is taken directly from the HW.
4018c2ecf20Sopenharmony_ci
4028c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcpidr3
4038c2ecf20Sopenharmony_ciDate:		April 2015
4048c2ecf20Sopenharmony_ciKernelVersion:	4.01
4058c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4068c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the Peripheral ID3 Register
4078c2ecf20Sopenharmony_ci		(0xFEC).  The value is taken directly from the HW.
4088c2ecf20Sopenharmony_ci
4098c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trcconfig
4108c2ecf20Sopenharmony_ciDate:		February 2016
4118c2ecf20Sopenharmony_ciKernelVersion:	4.07
4128c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4138c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the trace configuration register
4148c2ecf20Sopenharmony_ci		(0x010) as currently set by SW.
4158c2ecf20Sopenharmony_ci
4168c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/mgmt/trctraceid
4178c2ecf20Sopenharmony_ciDate:		February 2016
4188c2ecf20Sopenharmony_ciKernelVersion:	4.07
4198c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4208c2ecf20Sopenharmony_ciDescription:	(Read) Print the content of the trace ID register (0x040).
4218c2ecf20Sopenharmony_ci
4228c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr0
4238c2ecf20Sopenharmony_ciDate:		April 2015
4248c2ecf20Sopenharmony_ciKernelVersion:	4.01
4258c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4268c2ecf20Sopenharmony_ciDescription:	(Read) Returns the tracing capabilities of the trace unit (0x1E0).
4278c2ecf20Sopenharmony_ci		The value is taken directly from the HW.
4288c2ecf20Sopenharmony_ci
4298c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr1
4308c2ecf20Sopenharmony_ciDate:		April 2015
4318c2ecf20Sopenharmony_ciKernelVersion:	4.01
4328c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4338c2ecf20Sopenharmony_ciDescription:	(Read) Returns the tracing capabilities of the trace unit (0x1E4).
4348c2ecf20Sopenharmony_ci		The value is taken directly from the HW.
4358c2ecf20Sopenharmony_ci
4368c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr2
4378c2ecf20Sopenharmony_ciDate:		April 2015
4388c2ecf20Sopenharmony_ciKernelVersion:	4.01
4398c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4408c2ecf20Sopenharmony_ciDescription:	(Read) Returns the maximum size of the data value, data address,
4418c2ecf20Sopenharmony_ci		VMID, context ID and instuction address in the trace unit
4428c2ecf20Sopenharmony_ci		(0x1E8).  The value is taken directly from the HW.
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr3
4458c2ecf20Sopenharmony_ciDate:		April 2015
4468c2ecf20Sopenharmony_ciKernelVersion:	4.01
4478c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4488c2ecf20Sopenharmony_ciDescription:	(Read) Returns the value associated with various resources
4498c2ecf20Sopenharmony_ci		available to the trace unit.  See the Trace Macrocell
4508c2ecf20Sopenharmony_ci		architecture specification for more details (0x1E8).
4518c2ecf20Sopenharmony_ci		The value is taken directly from the HW.
4528c2ecf20Sopenharmony_ci
4538c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr4
4548c2ecf20Sopenharmony_ciDate:		April 2015
4558c2ecf20Sopenharmony_ciKernelVersion:	4.01
4568c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4578c2ecf20Sopenharmony_ciDescription:	(Read) Returns how many resources the trace unit supports (0x1F0).
4588c2ecf20Sopenharmony_ci		The value is taken directly from the HW.
4598c2ecf20Sopenharmony_ci
4608c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr5
4618c2ecf20Sopenharmony_ciDate:		April 2015
4628c2ecf20Sopenharmony_ciKernelVersion:	4.01
4638c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4648c2ecf20Sopenharmony_ciDescription:	(Read) Returns how many resources the trace unit supports (0x1F4).
4658c2ecf20Sopenharmony_ci		The value is taken directly from the HW.
4668c2ecf20Sopenharmony_ci
4678c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr8
4688c2ecf20Sopenharmony_ciDate:		April 2015
4698c2ecf20Sopenharmony_ciKernelVersion:	4.01
4708c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4718c2ecf20Sopenharmony_ciDescription:	(Read) Returns the maximum speculation depth of the instruction
4728c2ecf20Sopenharmony_ci		trace stream. (0x180).  The value is taken directly from the HW.
4738c2ecf20Sopenharmony_ci
4748c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr9
4758c2ecf20Sopenharmony_ciDate:		April 2015
4768c2ecf20Sopenharmony_ciKernelVersion:	4.01
4778c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4788c2ecf20Sopenharmony_ciDescription:	(Read) Returns the number of P0 right-hand keys that the trace unit
4798c2ecf20Sopenharmony_ci		can use (0x184).  The value is taken directly from the HW.
4808c2ecf20Sopenharmony_ci
4818c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr10
4828c2ecf20Sopenharmony_ciDate:		April 2015
4838c2ecf20Sopenharmony_ciKernelVersion:	4.01
4848c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4858c2ecf20Sopenharmony_ciDescription:	(Read) Returns the number of P1 right-hand keys that the trace unit
4868c2ecf20Sopenharmony_ci		can use (0x188).  The value is taken directly from the HW.
4878c2ecf20Sopenharmony_ci
4888c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr11
4898c2ecf20Sopenharmony_ciDate:		April 2015
4908c2ecf20Sopenharmony_ciKernelVersion:	4.01
4918c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
4928c2ecf20Sopenharmony_ciDescription:	(Read) Returns the number of special P1 right-hand keys that the
4938c2ecf20Sopenharmony_ci		trace unit can use (0x18C).  The value is taken directly from
4948c2ecf20Sopenharmony_ci		the HW.
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr12
4978c2ecf20Sopenharmony_ciDate:		April 2015
4988c2ecf20Sopenharmony_ciKernelVersion:	4.01
4998c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
5008c2ecf20Sopenharmony_ciDescription:	(Read) Returns the number of conditional P1 right-hand keys that
5018c2ecf20Sopenharmony_ci		the trace unit can use (0x190).  The value is taken directly
5028c2ecf20Sopenharmony_ci		from the HW.
5038c2ecf20Sopenharmony_ci
5048c2ecf20Sopenharmony_ciWhat:		/sys/bus/coresight/devices/etm<N>/trcidr/trcidr13
5058c2ecf20Sopenharmony_ciDate:		April 2015
5068c2ecf20Sopenharmony_ciKernelVersion:	4.01
5078c2ecf20Sopenharmony_ciContact:	Mathieu Poirier <mathieu.poirier@linaro.org>
5088c2ecf20Sopenharmony_ciDescription:	(Read) Returns the number of special conditional P1 right-hand keys
5098c2ecf20Sopenharmony_ci		that the trace unit can use (0x194).  The value is taken
5108c2ecf20Sopenharmony_ci		directly from the HW.
511