From mboxrd@z Thu Jan 1 00:00:00 1970 From: pratikp@codeaurora.org Subject: CoreSight framework and drivers Date: Tue, 18 Dec 2012 11:19:17 -0800 Message-ID: <1355858365-11849-1-git-send-email-pratikp@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: linux-arm-kernel@lists.infradead.org Cc: linux@arm.linux.org.uk, linus.walleij@linaro.org, will.deacon@arm.com, magnus.p.persson@stericsson.com, david.rusling@linaro.org, arve@android.com, dsaxena@linaro.org, john.stultz@linaro.org, jon-hunter@ti.com, d-deao@ti.com, christian.bejram@stericsson.com, devicetree-discuss@lists.ozlabs.org List-Id: devicetree@vger.kernel.org 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