cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sysfs-bus-coresight-devices-cti (8179B)


      1What:		/sys/bus/coresight/devices/<cti-name>/enable
      2Date:		March 2020
      3KernelVersion	5.7
      4Contact:	Mike Leach or Mathieu Poirier
      5Description:	(RW) Enable/Disable the CTI hardware.
      6
      7What:		/sys/bus/coresight/devices/<cti-name>/powered
      8Date:		March 2020
      9KernelVersion	5.7
     10Contact:	Mike Leach or Mathieu Poirier
     11Description:	(Read) Indicate if the CTI hardware is powered.
     12
     13What:		/sys/bus/coresight/devices/<cti-name>/ctmid
     14Date:		March 2020
     15KernelVersion	5.7
     16Contact:	Mike Leach or Mathieu Poirier
     17Description:	(Read) Display the associated CTM ID
     18
     19What:		/sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
     20Date:		March 2020
     21KernelVersion	5.7
     22Contact:	Mike Leach or Mathieu Poirier
     23Description:	(Read) Number of devices connected to triggers on this CTI
     24
     25What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/name
     26Date:		March 2020
     27KernelVersion	5.7
     28Contact:	Mike Leach or Mathieu Poirier
     29Description:	(Read) Name of connected device <N>
     30
     31What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
     32Date:		March 2020
     33KernelVersion	5.7
     34Contact:	Mike Leach or Mathieu Poirier
     35Description:	(Read) Input trigger signals from connected device <N>
     36
     37What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types
     38Date:		March 2020
     39KernelVersion	5.7
     40Contact:	Mike Leach or Mathieu Poirier
     41Description:	(Read) Functional types for the input trigger signals
     42		from connected device <N>
     43
     44What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals
     45Date:		March 2020
     46KernelVersion	5.7
     47Contact:	Mike Leach or Mathieu Poirier
     48Description:	(Read) Output trigger signals to connected device <N>
     49
     50What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types
     51Date:		March 2020
     52KernelVersion	5.7
     53Contact:	Mike Leach or Mathieu Poirier
     54Description:	(Read) Functional types for the output trigger signals
     55		to connected device <N>
     56
     57What:		/sys/bus/coresight/devices/<cti-name>/regs/inout_sel
     58Date:		March 2020
     59KernelVersion	5.7
     60Contact:	Mike Leach or Mathieu Poirier
     61Description:	(RW) Select the index for inen and outen registers.
     62
     63What:		/sys/bus/coresight/devices/<cti-name>/regs/inen
     64Date:		March 2020
     65KernelVersion	5.7
     66Contact:	Mike Leach or Mathieu Poirier
     67Description:	(RW) Read or write the CTIINEN register selected by inout_sel.
     68
     69What:		/sys/bus/coresight/devices/<cti-name>/regs/outen
     70Date:		March 2020
     71KernelVersion	5.7
     72Contact:	Mike Leach or Mathieu Poirier
     73Description:	(RW) Read or write the CTIOUTEN register selected by inout_sel.
     74
     75What:		/sys/bus/coresight/devices/<cti-name>/regs/gate
     76Date:		March 2020
     77KernelVersion	5.7
     78Contact:	Mike Leach or Mathieu Poirier
     79Description:	(RW) Read or write CTIGATE register.
     80
     81What:		/sys/bus/coresight/devices/<cti-name>/regs/asicctl
     82Date:		March 2020
     83KernelVersion	5.7
     84Contact:	Mike Leach or Mathieu Poirier
     85Description:	(RW) Read or write ASICCTL register.
     86
     87What:		/sys/bus/coresight/devices/<cti-name>/regs/intack
     88Date:		March 2020
     89KernelVersion	5.7
     90Contact:	Mike Leach or Mathieu Poirier
     91Description:	(Write) Write the INTACK register.
     92
     93What:		/sys/bus/coresight/devices/<cti-name>/regs/appset
     94Date:		March 2020
     95KernelVersion	5.7
     96Contact:	Mike Leach or Mathieu Poirier
     97Description:	(RW) Set CTIAPPSET register to activate channel. Read back to
     98		determine current value of register.
     99
    100What:		/sys/bus/coresight/devices/<cti-name>/regs/appclear
    101Date:		March 2020
    102KernelVersion	5.7
    103Contact:	Mike Leach or Mathieu Poirier
    104Description:	(Write) Write APPCLEAR register to deactivate channel.
    105
    106What:		/sys/bus/coresight/devices/<cti-name>/regs/apppulse
    107Date:		March 2020
    108KernelVersion	5.7
    109Contact:	Mike Leach or Mathieu Poirier
    110Description:	(Write) Write APPPULSE to pulse a channel active for one clock
    111		cycle.
    112
    113What:		/sys/bus/coresight/devices/<cti-name>/regs/chinstatus
    114Date:		March 2020
    115KernelVersion	5.7
    116Contact:	Mike Leach or Mathieu Poirier
    117Description:	(Read) Read current status of channel inputs.
    118
    119What:		/sys/bus/coresight/devices/<cti-name>/regs/choutstatus
    120Date:		March 2020
    121KernelVersion	5.7
    122Contact:	Mike Leach or Mathieu Poirier
    123Description:	(Read) read current status of channel outputs.
    124
    125What:		/sys/bus/coresight/devices/<cti-name>/regs/triginstatus
    126Date:		March 2020
    127KernelVersion	5.7
    128Contact:	Mike Leach or Mathieu Poirier
    129Description:	(Read) read current status of input trigger signals
    130
    131What:		/sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus
    132Date:		March 2020
    133KernelVersion	5.7
    134Contact:	Mike Leach or Mathieu Poirier
    135Description:	(Read) read current status of output trigger signals.
    136
    137What:		/sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
    138Date:		March 2020
    139KernelVersion	5.7
    140Contact:	Mike Leach or Mathieu Poirier
    141Description:	(Write) Attach a CTI input trigger to a CTM channel.
    142
    143What:		/sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
    144Date:		March 2020
    145KernelVersion	5.7
    146Contact:	Mike Leach or Mathieu Poirier
    147Description:	(Write) Detach a CTI input trigger from a CTM channel.
    148
    149What:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
    150Date:		March 2020
    151KernelVersion	5.7
    152Contact:	Mike Leach or Mathieu Poirier
    153Description:	(Write) Attach a CTI output trigger to a CTM channel.
    154
    155What:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
    156Date:		March 2020
    157KernelVersion	5.7
    158Contact:	Mike Leach or Mathieu Poirier
    159Description:	(Write) Detach a CTI output trigger from a CTM channel.
    160
    161What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
    162Date:		March 2020
    163KernelVersion	5.7
    164Contact:	Mike Leach or Mathieu Poirier
    165Description:	(RW) Enable CTIGATE for single channel (Write) or list enabled
    166		channels through the gate (R).
    167
    168What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
    169Date:		March 2020
    170KernelVersion	5.7
    171Contact:	Mike Leach or Mathieu Poirier
    172Description:	(Write) Disable CTIGATE for single channel.
    173
    174What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_set
    175Date:		March 2020
    176KernelVersion	5.7
    177Contact:	Mike Leach or Mathieu Poirier
    178Description:	(Write) Activate a single channel.
    179
    180What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_clear
    181Date:		March 2020
    182KernelVersion	5.7
    183Contact:	Mike Leach or Mathieu Poirier
    184Description:	(Write) Deactivate a single channel.
    185
    186What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
    187Date:		March 2020
    188KernelVersion	5.7
    189Contact:	Mike Leach or Mathieu Poirier
    190Description:	(Write) Pulse a single channel - activate for a single clock cycle.
    191
    192What:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered
    193Date:		March 2020
    194KernelVersion	5.7
    195Contact:	Mike Leach or Mathieu Poirier
    196Description:	(Read) List of output triggers filtered across all connections.
    197
    198What:		/sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable
    199Date:		March 2020
    200KernelVersion	5.7
    201Contact:	Mike Leach or Mathieu Poirier
    202Description:	(RW) Enable or disable trigger output signal filtering.
    203
    204What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_inuse
    205Date:		March 2020
    206KernelVersion	5.7
    207Contact:	Mike Leach or Mathieu Poirier
    208Description:	(Read) show channels with at least one attached trigger signal.
    209
    210What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_free
    211Date:		March 2020
    212KernelVersion	5.7
    213Contact:	Mike Leach or Mathieu Poirier
    214Description:	(Read) show channels with no attached trigger signals.
    215
    216What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel
    217Date:		March 2020
    218KernelVersion	5.7
    219Contact:	Mike Leach or Mathieu Poirier
    220Description:	(RW) Write channel number to select a channel to view, read to
    221		see selected channel number.
    222
    223What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in
    224Date:		March 2020
    225KernelVersion	5.7
    226Contact:	Mike Leach or Mathieu Poirier
    227Description:	(Read) Read to see input triggers connected to selected view
    228		channel.
    229
    230What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out
    231Date:		March 2020
    232KernelVersion	5.7
    233Contact:	Mike Leach or Mathieu Poirier
    234Description:	(Read) Read to see output triggers connected to selected view
    235		channel.
    236
    237What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset
    238Date:		March 2020
    239KernelVersion	5.7
    240Contact:	Mike Leach or Mathieu Poirier
    241Description:	(Write) Clear all channel / trigger programming.