From: pratikp@codeaurora.org (pratikp at codeaurora.org)
To: linux-arm-kernel@lists.infradead.org
Subject: CoreSight framework and drivers
Date: Tue, 18 Dec 2012 11:19:17 -0800 [thread overview]
Message-ID: <1355858365-11849-1-git-send-email-pratikp@codeaurora.org> (raw)
This RFC is aimed at introducing CoreSight framework as well as
individual CoreSight trace component drivers adhering to ARM
CoreSight specification. Some prior discussion on this can be
referred at [1].
There are 3 kinds of CoreSight trace components:
* Sources: Responsible for producing trace data to provide
visibility for the associated entity.
* Links: Transport components that carry trace data.
* Sinks: Collectors for storing trace data or acting as conduits
for off-chip trace data collection.
These components can be connected in various topologies to suite
a particular SoCs tracing needs.
Framework is responsible for gathering and using the information
about the registered CoreSight components and their connections
to allow it to dynamically deduce the sequence of components
representing a connection from a CoreSight source to the
currently selected CoreSight sink. This helps the framework to
program the correct set of components to satisfy user request.
[1] http://comments.gmane.org/gmane.linux.ports.arm.kernel/204591
Pratik Patel (8):
coresight: add CoreSight core layer framework
coresight: add CoreSight TMC driver
coresight: add CoreSight TPIU driver
coresight: add CoreSight ETB driver
coresight: add CoreSight Funnel driver
coresight: add CoreSight Replicator driver
coresight: add CoreSight STM driver
coresight: add CoreSight ETM driver
Documentation/devicetree/bindings/arm/coresight.txt | 110 ++
arch/arm/include/asm/hardware/cp14.h | 540 ++++++
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/coresight/Kconfig | 60 +
drivers/coresight/Makefile | 8 +
drivers/coresight/coresight-etb.c | 467 +++++
drivers/coresight/coresight-etm-cp14.c | 510 ++++++
drivers/coresight/coresight-etm.c | 1752 +++++++++++++++++++
drivers/coresight/coresight-funnel.c | 260 +++
drivers/coresight/coresight-priv.h | 48 +
drivers/coresight/coresight-replicator.c | 211 +++
drivers/coresight/coresight-stm.c | 819 +++++++++
drivers/coresight/coresight-tmc.c | 794 +++++++++
drivers/coresight/coresight-tpiu.c | 232 +++
drivers/coresight/coresight.c | 681 +++++++
drivers/coresight/of_coresight.c | 99 ++
include/linux/coresight-stm.h | 51 +
include/linux/coresight.h | 167 ++
include/linux/of_coresight.h | 27 +
20 files changed, 6839 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm/coresight.txt
create mode 100644 arch/arm/include/asm/hardware/cp14.h
create mode 100644 drivers/coresight/Kconfig
create mode 100644 drivers/coresight/Makefile
create mode 100644 drivers/coresight/coresight-etb.c
create mode 100644 drivers/coresight/coresight-etm-cp14.c
create mode 100644 drivers/coresight/coresight-etm.c
create mode 100644 drivers/coresight/coresight-funnel.c
create mode 100644 drivers/coresight/coresight-priv.h
create mode 100644 drivers/coresight/coresight-replicator.c
create mode 100644 drivers/coresight/coresight-stm.c
create mode 100644 drivers/coresight/coresight-tmc.c
create mode 100644 drivers/coresight/coresight-tpiu.c
create mode 100644 drivers/coresight/coresight.c
create mode 100644 drivers/coresight/of_coresight.c
create mode 100644 include/linux/coresight-stm.h
create mode 100644 include/linux/coresight.h
create mode 100644 include/linux/of_coresight.h
next reply other threads:[~2012-12-18 19:19 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 19:19 pratikp at codeaurora.org [this message]
2012-12-18 19:19 ` [RFC 1/8] coresight: add CoreSight core layer framework pratikp at codeaurora.org
2012-12-18 19:19 ` [RFC 2/8] coresight: add CoreSight TMC driver pratikp at codeaurora.org
2013-02-21 14:20 ` Robert MARKLUND
2012-12-18 19:19 ` [RFC 3/8] coresight: add CoreSight TPIU driver pratikp at codeaurora.org
2012-12-18 19:19 ` [RFC 4/8] coresight: add CoreSight ETB driver pratikp at codeaurora.org
2012-12-20 17:49 ` Jon Hunter
2012-12-20 19:54 ` Pratik Patel
2012-12-18 19:19 ` [RFC 5/8] coresight: add CoreSight Funnel driver pratikp at codeaurora.org
2012-12-18 19:19 ` [RFC 6/8] coresight: add CoreSight Replicator driver pratikp at codeaurora.org
2012-12-18 19:19 ` [RFC 7/8] coresight: add CoreSight STM driver pratikp at codeaurora.org
2012-12-18 19:19 ` [RFC 8/8] coresight: add CoreSight ETM driver pratikp at codeaurora.org
2012-12-19 11:23 ` CoreSight framework and drivers Will Deacon
2012-12-19 17:03 ` Jon Hunter
2012-12-19 21:24 ` Pratik Patel
2012-12-20 17:46 ` Jon Hunter
2012-12-20 19:51 ` Pratik Patel
2012-12-20 20:16 ` Jean Pihet
2012-12-21 22:12 ` Pratik Patel
2012-12-20 22:54 ` Jon Hunter
2012-12-20 23:40 ` Russell King - ARM Linux
2012-12-21 22:17 ` Pratik Patel
2012-12-21 22:18 ` Pratik Patel
2012-12-23 11:32 ` Will Deacon
2013-01-03 18:06 ` Pratik Patel
2013-01-07 11:58 ` Will Deacon
2013-01-16 0:14 ` Pratik Patel
2013-01-17 10:55 ` Will Deacon
2013-01-02 20:00 ` Jon Hunter
2013-01-03 19:32 ` Pratik Patel
2012-12-19 21:06 ` Pratik Patel
2013-02-21 14:32 ` Robert MARKLUND
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1355858365-11849-1-git-send-email-pratikp@codeaurora.org \
--to=pratikp@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).