From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752289AbaHTREO (ORCPT ); Wed, 20 Aug 2014 13:04:14 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:55551 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751625AbaHTREM (ORCPT ); Wed, 20 Aug 2014 13:04:12 -0400 From: mathieu.poirier@linaro.org To: linus.walleij@linaro.org, will.deacon@arm.com, linux@arm.linux.org.uk, 00regkh@linuxfoundation.org Cc: mathieu.poirier@linaro.org, pratikp@codeaurora.org, varshney@ti.com, Al.Grant@arm.com, jonas.svennebring@avagotech.com, james.king@linaro.org, panchaxari.prasannamurthy@linaro.org, kaixu.xia@linaro.org, marcin.jabrzyk@gmail.com, r.sengupta@samsung.com, robbelibobban@gmail.com, Tony.Armitstead@arm.com, daniel.thompson@linaro.org, patches@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/11 v4] Coresight framework and drivers Date: Wed, 20 Aug 2014 11:03:40 -0600 Message-Id: <1408554231-24321-1-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mathieu Poirier This patchset concentrates on enabling HW assisted tracing on ARM SoCs. This first wave centers on the basic tracing functionnality, enabling components such ETM/PTM, funnel, replicator, TMC, TPIU and ETB. Subsequent submissions will enable more intricate IP blocks such as STM and CTI. Generated traces are encoded in a PFTv1.1 format and can be interpreted using the procedure detailed here [1] or ptm2human [2]. STM abides to the widely available STPv2. Bindings for the driver have been sent separately to the devicetree list. [1].https://wiki.linaro.org/WorklingGroups/Kernel/Coresight/traceDecodingWithDS5 [2].https://github.com/hwangcc23/ptm2human Mathieu Poirier (4): coresight: adding documentation for coresight coresight: adding support for beagle and beagleXM coresight: adding basic support for Vexpress TC2 ARM: removing support for etb/etm in "arch/arm/kernel/" Pratik Patel (7): coresight: add CoreSight core layer framework coresight-tmc: add CoreSight TMC driver coresight-tpiu: add CoreSight TPIU driver coresight-etb: add CoreSight ETB driver coresight-funnel: add CoreSight Funnel driver coresight-replicator: add CoreSight Replicator driver coresight-etm: add CoreSight ETM/PTM driver Documentation/trace/coresight.txt | 235 ++++ arch/arm/Kconfig.debug | 36 +- arch/arm/boot/dts/omap3-beagle-xm.dts | 28 + arch/arm/boot/dts/omap3-beagle.dts | 28 + arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 199 ++++ arch/arm/include/asm/hardware/coresight.h | 157 --- arch/arm/include/asm/hardware/cp14.h | 540 +++++++++ arch/arm/kernel/Makefile | 1 - arch/arm/kernel/etm.c | 654 ----------- arch/arm/kernel/hw_breakpoint.c | 4 +- arch/arm/mach-omap2/Kconfig | 8 - arch/arm/mach-omap2/Makefile | 1 - arch/arm/mach-omap2/emu.c | 50 - drivers/Makefile | 1 + drivers/amba/bus.c | 2 +- drivers/coresight/Makefile | 9 + drivers/coresight/coresight-etb10.c | 529 +++++++++ drivers/coresight/coresight-etm-cp14.c | 506 +++++++++ drivers/coresight/coresight-etm.h | 200 ++++ drivers/coresight/coresight-etm3x.c | 1702 ++++++++++++++++++++++++++++ drivers/coresight/coresight-funnel.c | 251 ++++ drivers/coresight/coresight-priv.h | 63 + drivers/coresight/coresight-replicator.c | 153 +++ drivers/coresight/coresight-tmc.c | 740 ++++++++++++ drivers/coresight/coresight-tpiu.c | 212 ++++ drivers/coresight/coresight.c | 669 +++++++++++ drivers/coresight/of_coresight.c | 202 ++++ include/linux/amba/bus.h | 1 + include/linux/coresight.h | 206 ++++ 29 files changed, 6505 insertions(+), 882 deletions(-) create mode 100644 Documentation/trace/coresight.txt delete mode 100644 arch/arm/include/asm/hardware/coresight.h create mode 100644 arch/arm/include/asm/hardware/cp14.h delete mode 100644 arch/arm/kernel/etm.c delete mode 100644 arch/arm/mach-omap2/emu.c create mode 100644 drivers/coresight/Makefile create mode 100644 drivers/coresight/coresight-etb10.c create mode 100644 drivers/coresight/coresight-etm-cp14.c create mode 100644 drivers/coresight/coresight-etm.h create mode 100644 drivers/coresight/coresight-etm3x.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-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.h -- 1.9.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.poirier@linaro.org (mathieu.poirier at linaro.org) Date: Wed, 20 Aug 2014 11:03:40 -0600 Subject: [PATCH 00/11 v4] Coresight framework and drivers Message-ID: <1408554231-24321-1-git-send-email-mathieu.poirier@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Mathieu Poirier This patchset concentrates on enabling HW assisted tracing on ARM SoCs. This first wave centers on the basic tracing functionnality, enabling components such ETM/PTM, funnel, replicator, TMC, TPIU and ETB. Subsequent submissions will enable more intricate IP blocks such as STM and CTI. Generated traces are encoded in a PFTv1.1 format and can be interpreted using the procedure detailed here [1] or ptm2human [2]. STM abides to the widely available STPv2. Bindings for the driver have been sent separately to the devicetree list. [1].https://wiki.linaro.org/WorklingGroups/Kernel/Coresight/traceDecodingWithDS5 [2].https://github.com/hwangcc23/ptm2human Mathieu Poirier (4): coresight: adding documentation for coresight coresight: adding support for beagle and beagleXM coresight: adding basic support for Vexpress TC2 ARM: removing support for etb/etm in "arch/arm/kernel/" Pratik Patel (7): coresight: add CoreSight core layer framework coresight-tmc: add CoreSight TMC driver coresight-tpiu: add CoreSight TPIU driver coresight-etb: add CoreSight ETB driver coresight-funnel: add CoreSight Funnel driver coresight-replicator: add CoreSight Replicator driver coresight-etm: add CoreSight ETM/PTM driver Documentation/trace/coresight.txt | 235 ++++ arch/arm/Kconfig.debug | 36 +- arch/arm/boot/dts/omap3-beagle-xm.dts | 28 + arch/arm/boot/dts/omap3-beagle.dts | 28 + arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 199 ++++ arch/arm/include/asm/hardware/coresight.h | 157 --- arch/arm/include/asm/hardware/cp14.h | 540 +++++++++ arch/arm/kernel/Makefile | 1 - arch/arm/kernel/etm.c | 654 ----------- arch/arm/kernel/hw_breakpoint.c | 4 +- arch/arm/mach-omap2/Kconfig | 8 - arch/arm/mach-omap2/Makefile | 1 - arch/arm/mach-omap2/emu.c | 50 - drivers/Makefile | 1 + drivers/amba/bus.c | 2 +- drivers/coresight/Makefile | 9 + drivers/coresight/coresight-etb10.c | 529 +++++++++ drivers/coresight/coresight-etm-cp14.c | 506 +++++++++ drivers/coresight/coresight-etm.h | 200 ++++ drivers/coresight/coresight-etm3x.c | 1702 ++++++++++++++++++++++++++++ drivers/coresight/coresight-funnel.c | 251 ++++ drivers/coresight/coresight-priv.h | 63 + drivers/coresight/coresight-replicator.c | 153 +++ drivers/coresight/coresight-tmc.c | 740 ++++++++++++ drivers/coresight/coresight-tpiu.c | 212 ++++ drivers/coresight/coresight.c | 669 +++++++++++ drivers/coresight/of_coresight.c | 202 ++++ include/linux/amba/bus.h | 1 + include/linux/coresight.h | 206 ++++ 29 files changed, 6505 insertions(+), 882 deletions(-) create mode 100644 Documentation/trace/coresight.txt delete mode 100644 arch/arm/include/asm/hardware/coresight.h create mode 100644 arch/arm/include/asm/hardware/cp14.h delete mode 100644 arch/arm/kernel/etm.c delete mode 100644 arch/arm/mach-omap2/emu.c create mode 100644 drivers/coresight/Makefile create mode 100644 drivers/coresight/coresight-etb10.c create mode 100644 drivers/coresight/coresight-etm-cp14.c create mode 100644 drivers/coresight/coresight-etm.h create mode 100644 drivers/coresight/coresight-etm3x.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-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.h -- 1.9.1