| 1 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/trigger_cntr |
| 2 |
Date: November 2014 |
| 3 |
KernelVersion: 3.19 |
| 4 |
Contact: Mathieu Poirier <[email protected]> |
| 5 |
Description: (RW) Disables write access to the Trace RAM by stopping the |
| 6 |
formatter after a defined number of words have been stored |
| 7 |
following the trigger event. Additional interface for this |
| 8 |
driver are expected to be added as it matures. |
| 9 |
|
| 10 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rsz |
| 11 |
Date: March 2016 |
| 12 |
KernelVersion: 4.7 |
| 13 |
Contact: Mathieu Poirier <[email protected]> |
| 14 |
Description: (Read) Defines the size, in 32-bit words, of the local RAM buffer. |
| 15 |
The value is read directly from HW register RSZ, 0x004. |
| 16 |
|
| 17 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/sts |
| 18 |
Date: March 2016 |
| 19 |
KernelVersion: 4.7 |
| 20 |
Contact: Mathieu Poirier <[email protected]> |
| 21 |
Description: (Read) Shows the value held by the TMC status register. The value |
| 22 |
is read directly from HW register STS, 0x00C. |
| 23 |
|
| 24 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rrp |
| 25 |
Date: March 2016 |
| 26 |
KernelVersion: 4.7 |
| 27 |
Contact: Mathieu Poirier <[email protected]> |
| 28 |
Description: (Read) Shows the value held by the TMC RAM Read Pointer register |
| 29 |
that is used to read entries from the Trace RAM over the APB |
| 30 |
interface. The value is read directly from HW register RRP, |
| 31 |
0x014. |
| 32 |
|
| 33 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rwp |
| 34 |
Date: March 2016 |
| 35 |
KernelVersion: 4.7 |
| 36 |
Contact: Mathieu Poirier <[email protected]> |
| 37 |
Description: (Read) Shows the value held by the TMC RAM Write Pointer register |
| 38 |
that is used to sets the write pointer to write entries from |
| 39 |
the CoreSight bus into the Trace RAM. The value is read directly |
| 40 |
from HW register RWP, 0x018. |
| 41 |
|
| 42 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/trg |
| 43 |
Date: March 2016 |
| 44 |
KernelVersion: 4.7 |
| 45 |
Contact: Mathieu Poirier <[email protected]> |
| 46 |
Description: (Read) Similar to "trigger_cntr" above except that this value is |
| 47 |
read directly from HW register TRG, 0x01C. |
| 48 |
|
| 49 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ctl |
| 50 |
Date: March 2016 |
| 51 |
KernelVersion: 4.7 |
| 52 |
Contact: Mathieu Poirier <[email protected]> |
| 53 |
Description: (Read) Shows the value held by the TMC Control register. The value |
| 54 |
is read directly from HW register CTL, 0x020. |
| 55 |
|
| 56 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffsr |
| 57 |
Date: March 2016 |
| 58 |
KernelVersion: 4.7 |
| 59 |
Contact: Mathieu Poirier <[email protected]> |
| 60 |
Description: (Read) Shows the value held by the TMC Formatter and Flush Status |
| 61 |
register. The value is read directly from HW register FFSR, |
| 62 |
0x300. |
| 63 |
|
| 64 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffcr |
| 65 |
Date: March 2016 |
| 66 |
KernelVersion: 4.7 |
| 67 |
Contact: Mathieu Poirier <[email protected]> |
| 68 |
Description: (Read) Shows the value held by the TMC Formatter and Flush Control |
| 69 |
register. The value is read directly from HW register FFCR, |
| 70 |
0x304. |
| 71 |
|
| 72 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/mode |
| 73 |
Date: March 2016 |
| 74 |
KernelVersion: 4.7 |
| 75 |
Contact: Mathieu Poirier <[email protected]> |
| 76 |
Description: (Read) Shows the value held by the TMC Mode register, which |
| 77 |
indicate the mode the device has been configured to enact. The |
| 78 |
The value is read directly from the MODE register, 0x028. |
| 79 |
|
| 80 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/devid |
| 81 |
Date: March 2016 |
| 82 |
KernelVersion: 4.7 |
| 83 |
Contact: Mathieu Poirier <[email protected]> |
| 84 |
Description: (Read) Indicates the capabilities of the Coresight TMC. |
| 85 |
The value is read directly from the DEVID register, 0xFC8, |
| 86 |
|
| 87 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/buffer_size |
| 88 |
Date: December 2018 |
| 89 |
KernelVersion: 4.19 |
| 90 |
Contact: Mathieu Poirier <[email protected]> |
| 91 |
Description: (RW) Size of the trace buffer for TMC-ETR when used in SYSFS |
| 92 |
mode. Writable only for TMC-ETR configurations. The value |
| 93 |
should be aligned to the kernel pagesize. |
| 94 |
|
| 95 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/buf_modes_available |
| 96 |
Date: August 2023 |
| 97 |
KernelVersion: 6.7 |
| 98 |
Contact: Anshuman Khandual <[email protected]> |
| 99 |
Description: (Read) Shows all supported Coresight TMC-ETR buffer modes available |
| 100 |
for the users to configure explicitly. This file is available only |
| 101 |
for TMC ETR devices. |
| 102 |
|
| 103 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/buf_mode_preferred |
| 104 |
Date: August 2023 |
| 105 |
KernelVersion: 6.7 |
| 106 |
Contact: Anshuman Khandual <[email protected]> |
| 107 |
Description: (RW) Current Coresight TMC-ETR buffer mode selected. But user could |
| 108 |
only provide a mode which is supported for a given ETR device. This |
| 109 |
file is available only for TMC ETR devices. |
| 110 |
|
| 111 |
What: /sys/bus/coresight/devices/<memory_map>.tmc/label |
| 112 |
Date: Aug 2025 |
| 113 |
KernelVersion 6.18 |
| 114 |
Contact: Mao Jinlong <[email protected]> |
| 115 |
Description: (Read) Show hardware context information of device. |