coresight: stm: adding driver for CoreSight STM component
authorPratik Patel <pratikp@codeaurora.org>
Tue, 3 May 2016 17:33:40 +0000 (11:33 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:45:21 +0000 (15:45 -0600)
commitfeff85e807c07a11794da2ad4d5a4d8a0368dbfd
tree691397af06eee6f632457890ad6b592aac9a704b
parent27e5d1a7ac405242327797a69dfc82235d86d513
coresight: stm: adding driver for CoreSight STM component

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>
(cherry picked from commit 237483aa5cf43105d148d3f03b29eed47c3e6cf9)
Documentation/ABI/testing/sysfs-bus-coresight-devices-stm [new file with mode: 0644]
Documentation/trace/coresight.txt
drivers/hwtracing/coresight/Kconfig
drivers/hwtracing/coresight/Makefile
drivers/hwtracing/coresight/coresight-stm.c [new file with mode: 0644]
include/linux/coresight-stm.h [new file with mode: 0644]
include/uapi/linux/coresight-stm.h [new file with mode: 0644]