237483aa5c
This driver adds support for the STM CoreSight IP block, allowing any system compoment (HW or SW) to log and aggregate messages via a single entity. The CoreSight STM exposes an application defined number of channels called stimulus port. Configuration is done using entries in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel <pratikp@codeaurora.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Michael Williams <michael.williams@arm.com> Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
54 lines
2.2 KiB
Plaintext
54 lines
2.2 KiB
Plaintext
What: /sys/bus/coresight/devices/<memory_map>.stm/enable_source
|
|
Date: April 2016
|
|
KernelVersion: 4.7
|
|
Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Description: (RW) Enable/disable tracing on this specific trace macrocell.
|
|
Enabling the trace macrocell implies it has been configured
|
|
properly and a sink has been identified for it. The path
|
|
of coresight components linking the source to the sink is
|
|
configured and managed automatically by the coresight framework.
|
|
|
|
What: /sys/bus/coresight/devices/<memory_map>.stm/hwevent_enable
|
|
Date: April 2016
|
|
KernelVersion: 4.7
|
|
Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Description: (RW) Provides access to the HW event enable register, used in
|
|
conjunction with HW event bank select register.
|
|
|
|
What: /sys/bus/coresight/devices/<memory_map>.stm/hwevent_select
|
|
Date: April 2016
|
|
KernelVersion: 4.7
|
|
Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Description: (RW) Gives access to the HW event block select register
|
|
(STMHEBSR) in order to configure up to 256 channels. Used in
|
|
conjunction with "hwevent_enable" register as described above.
|
|
|
|
What: /sys/bus/coresight/devices/<memory_map>.stm/port_enable
|
|
Date: April 2016
|
|
KernelVersion: 4.7
|
|
Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Description: (RW) Provides access to the stimulus port enable register
|
|
(STMSPER). Used in conjunction with "port_select" described
|
|
below.
|
|
|
|
What: /sys/bus/coresight/devices/<memory_map>.stm/port_select
|
|
Date: April 2016
|
|
KernelVersion: 4.7
|
|
Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Description: (RW) Used to determine which bank of stimulus port bit in
|
|
register STMSPER (see above) apply to.
|
|
|
|
What: /sys/bus/coresight/devices/<memory_map>.stm/status
|
|
Date: April 2016
|
|
KernelVersion: 4.7
|
|
Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Description: (R) List various control and status registers. The specific
|
|
layout and content is driver specific.
|
|
|
|
What: /sys/bus/coresight/devices/<memory_map>.stm/traceid
|
|
Date: April 2016
|
|
KernelVersion: 4.7
|
|
Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Description: (RW) Holds the trace ID that will appear in the trace stream
|
|
coming from this trace entity.
|