Kconfig

CONFIG_CORESIGHT CoreSight Tracing Support

  • Off
  • Module
  • Built in
Unknown

This framework provides a kernel interface for the CoreSight debug and trace drivers to register themselves with. It's intended to build a topological view of the CoreSight components based on a DT specification and configure the right series of components when a trace source gets enabled.

To compile this driver as a module, choose M here: the module will be called coresight.

If CORESIGHT

CONFIG_CORESIGHT_CATU Coresight Address Translation Unit (CATU) driver

  • Off
  • Module
  • Built in
Unknown

Enable support for the Coresight Address Translation Unit (CATU). CATU supports a scatter gather table of 4K pages, with forward/backward lookup. CATU helps TMC ETR to use a large physically non-contiguous trace buffer by translating the addresses used by ETR to the physical address by looking up the provided table. CATU can also be used in pass-through mode where the address is not translated.

To compile this driver as a module, choose M here: the module will be called coresight-catu.

CONFIG_CORESIGHT_SINK_TPIU Coresight generic TPIU driver

  • Off
  • Module
  • Built in
Unknown

This enables support for the Trace Port Interface Unit driver, responsible for bridging the gap between the on-chip coresight components and a trace for bridging the gap between the on-chip coresight components and a trace port collection engine, typically connected to an external host for use case capturing more traces than the on-board coresight memory can handle.

To compile this driver as a module, choose M here: the module will be called coresight-tpiu.

CONFIG_CORESIGHT_SINK_ETBV10 Coresight ETBv1.0 driver

  • Off
  • Module
  • Built in
Unknown

This enables support for the Embedded Trace Buffer version 1.0 driver that complies with the generic implementation of the component without special enhancement or added features.

To compile this driver as a module, choose M here: the module will be called coresight-etb10.

CONFIG_CORESIGHT_SOURCE_ETM3X CoreSight Embedded Trace Macrocell 3.x driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for processor ETM3.x and PTM1.x modules, which allows tracing the instructions that a processor is executing This is primarily useful for instruction level tracing. Depending the ETM version data tracing may also be available.

To compile this driver as a module, choose M here: the module will be called coresight-etm3x.

CONFIG_CORESIGHT_SOURCE_ETM4X CoreSight ETMv4.x / ETE driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for the CoreSight Embedded Trace Macrocell version 4.x and the Embedded Trace Extensions (ETE). Both are CPU tracer modules, tracing the instructions that a processor is executing. This is primarily useful for instruction level tracing.

To compile this driver as a module, choose M here: the module will be called coresight-etm4x.

CONFIG_ETM4X_IMPDEF_FEATURE Control implementation defined overflow support in ETM 4.x driver

Unknown

This control provides implementation define control for CoreSight ETM 4.x tracer module that can't reduce commit rate automatically. This avoids overflow between the ETM tracer module and the cpu core.

CONFIG_CORESIGHT_STM CoreSight System Trace Macrocell driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for hardware assisted software instrumentation based tracing. This is primarily used for logging useful software events or data coming from various entities in the system, possibly running different OSs

To compile this driver as a module, choose M here: the module will be called coresight-stm.

CONFIG_CORESIGHT_CTCU CoreSight TMC Control Unit driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for CoreSight TMC Control Unit that hosts miscellaneous configuration registers. This is primarily used for controlling the behaviors of the TMC ETR device.

To compile this driver as a module, choose M here: the module will be called coresight-ctcu.

CONFIG_CORESIGHT_CPU_DEBUG CoreSight CPU Debug driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for coresight debugging module. This is primarily used to dump sample-based profiling registers when system triggers panic, the driver will parse context registers so can quickly get to know program counter (PC), secure state, exception level, etc. Before use debugging functionality, platform needs to ensure the clock domain and power domain are enabled properly, please refer Documentation/trace/coresight/coresight-cpu-debug.rst for detailed description and the example for usage.

To compile this driver as a module, choose M here: the module will be called coresight-cpu-debug.

CONFIG_CORESIGHT_CPU_DEBUG_DEFAULT_ON Enable CoreSight CPU Debug by default

Unknown

Say Y here to enable the CoreSight Debug panic-debug by default. This can also be enabled via debugfs, but this ensures the debug feature is enabled as early as possible.

Has the same effect as setting coresight_cpu_debug.enable=1 on the kernel command line.

Say N if unsure.

CONFIG_CORESIGHT_CTI CoreSight Cross Trigger Interface (CTI) driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for CoreSight CTI and CTM components. These provide hardware triggering events between CoreSight trace source and sink components. These can be used to halt trace or inject events into the trace stream. CTI also provides a software control to trigger the same halt events. This can provide fast trace halt compared to disabling sources and sinks normally in driver software.

To compile this driver as a module, choose M here: the module will be called coresight-cti.

CONFIG_CORESIGHT_CTI_INTEGRATION_REGS Access CTI CoreSight Integration Registers

Unknown

This option adds support for the CoreSight integration registers on this device. The integration registers allow the exploration of the CTI trigger connections between this and other devices.These registers are not used in normal operation and can leave devices in an inconsistent state.

CONFIG_CORESIGHT_TRBE Trace Buffer Extension (TRBE) driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for percpu Trace Buffer Extension (TRBE). TRBE always needs to be used along with its corresponding percpu ETE component. ETE generates trace data which is then captured with TRBE. Unlike traditional sink devices, TRBE is a CPU feature accessible via system registers. But its explicit dependency with trace unit (ETE) requires it to be plugged in as a coresight sink device.

To compile this driver as a module, choose M here: the module will be called coresight-trbe.

CONFIG_ULTRASOC_SMB Ultrasoc system memory buffer drivers

  • Off
  • Module
  • Built in
Unknown

This driver provides support for the Ultrasoc system memory buffer (SMB). SMB is responsible for receiving the trace data from Coresight ETM devices and storing them to a system buffer.

To compile this driver as a module, choose M here: the module will be called ultrasoc-smb.

CONFIG_CORESIGHT_TPDM CoreSight Trace, Profiling & Diagnostics Monitor driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for configuring monitor. Monitors are primarily responsible for data set collection and support the ability to collect any permutation of data set types.

To compile this driver as a module, choose M here: the module will be called coresight-tpdm.

CONFIG_CORESIGHT_TPDA CoreSight Trace, Profiling & Diagnostics Aggregator driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for configuring aggregator. This is primarily useful for pulling the data sets from one or more attached monitors and pushing the resultant data out. Multiple monitors are connected on different input ports of TPDA.

To compile this driver as a module, choose M here: the module will be called coresight-tpda.

CONFIG_CORESIGHT_DUMMY Dummy driver support

  • Off
  • Module
  • Built in
Unknown

Enables support for dummy driver. Dummy driver can be used for CoreSight sources/sinks that are owned and configured by some other subsystem and use Linux drivers to configure rest of trace path.

To compile this driver as a module, choose M here: the module will be called coresight-dummy.

CONFIG_CORESIGHT_KUNIT_TESTS Enable Coresight unit tests

  • Off
  • Module
  • Built in
Unknown

Enable Coresight unit tests. Only useful for development and not intended for production.

CONFIG_CORESIGHT_TNOC Coresight Trace Network On Chip driver

  • Off
  • Module
  • Built in
Unknown

This driver provides support for Trace Network On Chip (TNOC) component. TNOC is an interconnect used to collect traces from various subsystems and transport to a coresight trace sink. It sits in the different tiles of SOC and aggregates the trace local to the tile and transports it another tile or to coresight trace sink eventually.

To compile this driver as a module, choose M here: the module will be called coresight-tnoc.

CONFIG_PID_IN_CONTEXTIDR declarations