coresight: add CoreSight core layer framework
authorPratik Patel <pratikp@codeaurora.org>
Mon, 3 Nov 2014 18:07:35 +0000 (11:07 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 22 Dec 2014 19:28:44 +0000 (12:28 -0700)
commita66ebf16a42afea803d6f9fd36fbcaad90cd0b87
tree94a7bd75c7022def8ad8cd38bddb773d21b8058e
parent62bb2301ad099dae579f145e2fcff409796f7021
coresight: add CoreSight core layer framework

CoreSight components are compliant with the ARM CoreSight
architecture specification and can be connected in various
topologies to suit a particular SoC tracing needs. These trace
components can generally be classified as sources, links and
sinks. Trace data produced by one or more sources flows through
the intermediate links connecting the source to the currently
selected sink.

The CoreSight framework provides an interface for the CoreSight trace
drivers to register themselves with. It's intended to build up a
topological view of the CoreSight components and configure the
correct serie of components on user input via sysfs.

For eg., when enabling a source, the framework builds up a path
consisting of all the components connecting the source to the
currently selected sink(s) and enables all of them.

The framework also supports switching between available sinks
and provides status information to user space applications
through the debugfs interface.

Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit a06ae8609b3dd06b957a6e4e965772a8a14d3af5)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Conflicts:
arch/arm/Kconfig.debug
drivers/Makefile
MAINTAINERS
arch/arm/Kconfig.debug
drivers/Makefile
drivers/amba/bus.c
drivers/coresight/Makefile [new file with mode: 0644]
drivers/coresight/coresight-priv.h [new file with mode: 0644]
drivers/coresight/coresight.c [new file with mode: 0644]
drivers/coresight/of_coresight.c [new file with mode: 0644]
include/linux/amba/bus.h
include/linux/coresight.h [new file with mode: 0644]