linux_dsm_epyc7002/drivers/hwtracing/coresight
Mike Leach 3c5597e398 coresight: cti: Add connection information to sysfs
Dynamically adds sysfs attributes for all connections defined in the CTI.

Each connection has a triggers<N> sub-directory with name, in_signals,
in_types, out_signals and out_types as read-only parameters in the
directory. in_ or out_ parameters may be omitted if there are no in or
out signals for the connection.

Additionally each device has a nr_cons in the connections sub-directory.

This allows clients to explore the connection and trigger signal details
without needing to refer to device tree or specification of the device.

Standardised type information is provided for certain common functions -
e.g. snk_full for a trigger from a sink indicating full. Otherwise type
defaults to genio.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200320165303.13681-10-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-21 11:32:20 +01:00
..
coresight-catu.c
coresight-catu.h
coresight-cpu-debug.c
coresight-cti-platform.c coresight: cti: Add device tree support for custom CTI 2020-03-21 11:32:20 +01:00
coresight-cti-sysfs.c coresight: cti: Add connection information to sysfs 2020-03-21 11:32:20 +01:00
coresight-cti.c coresight: cti: Add connection information to sysfs 2020-03-21 11:32:20 +01:00
coresight-cti.h coresight: cti: Add connection information to sysfs 2020-03-21 11:32:20 +01:00
coresight-etb10.c
coresight-etm3x-sysfs.c
coresight-etm3x.c
coresight-etm4x-sysfs.c coresight: etm4x: Fix BMVAL misuse 2019-11-04 21:57:58 +01:00
coresight-etm4x.c coresight: etm4x: Fix unused function warning 2020-01-14 15:38:28 +01:00
coresight-etm4x.h coresight: etm4x: Add missing single-shot control API to sysfs 2019-11-04 21:57:56 +01:00
coresight-etm-cp14.c
coresight-etm-perf.c
coresight-etm-perf.h
coresight-etm.h
coresight-funnel.c coresight: funnel: Fix missing spin_lock_init() 2019-11-19 19:18:15 +01:00
coresight-platform.c coresight: cti: Add device tree support for v8 arch CTI 2020-03-21 11:32:19 +01:00
coresight-priv.h coresight: cti: Enable CTI associated with devices 2020-03-21 11:32:20 +01:00
coresight-replicator.c coresight: replicator: Fix missing spin_lock_init() 2019-11-19 19:18:15 +01:00
coresight-stm.c
coresight-tmc-etf.c coresight: Serialize enabling/disabling a link device. 2019-11-04 21:57:57 +01:00
coresight-tmc-etr.c
coresight-tmc.c
coresight-tmc.h
coresight-tpiu.c
coresight.c coresight: cti: Enable CTI associated with devices 2020-03-21 11:32:20 +01:00
Kconfig coresight: cti: Add sysfs access to program function registers 2020-03-21 11:32:18 +01:00
Makefile coresight: cti: Initial CoreSight CTI Driver 2020-03-21 11:32:18 +01:00