From: dirk.behme@de•bosch.com (Dirk Behme)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 6/9 v2] coresight-etm: add CoreSight ETM/PTM driver
Date: Mon, 30 Jun 2014 13:01:26 +0200 [thread overview]
Message-ID: <53B14386.1040706@de.bosch.com> (raw)
In-Reply-To: <1403892261-25026-7-git-send-email-mathieu.poirier@linaro.org>
On 27.06.2014 20:04, mathieu.poirier at linaro.org wrote:
> From: Pratik Patel <pratikp@codeaurora•org>
>
> This driver manages CoreSight ETM (Embedded Trace Macrocell) that
> supports processor tracing. Currently supported version are ARM
> ETMv3.3, v3.5 and PTM.
>
> Signed-off-by: Pratik Patel <pratikp@codeaurora•org>
> Panchaxari Prasannamurthy <panchaxari.prasannamurthy@linaro•org>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro•org>
> ---
> arch/arm/include/asm/hardware/cp14.h | 540 ++++++++++++
> drivers/coresight/Kconfig | 19 +
> drivers/coresight/Makefile | 1 +
> drivers/coresight/coresight-etm-cp14.c | 506 +++++++++++
> drivers/coresight/coresight-etm.c | 1507 ++++++++++++++++++++++++++++++++
> drivers/coresight/coresight-etm.h | 192 ++++
> 6 files changed, 2765 insertions(+)
> create mode 100644 arch/arm/include/asm/hardware/cp14.h
> create mode 100644 drivers/coresight/coresight-etm-cp14.c
> create mode 100644 drivers/coresight/coresight-etm.c
> create mode 100644 drivers/coresight/coresight-etm.h
....
> diff --git a/drivers/coresight/coresight-etm-cp14.c b/drivers/coresight/coresight-etm-cp14.c
> new file mode 100644
> index 0000000..4173710
> --- /dev/null
> +++ b/drivers/coresight/coresight-etm-cp14.c
> @@ -0,0 +1,506 @@
> +/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 and
> + * only version 2 as published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + */
> +
> +#include <linux/kernel.h>
> +#include <linux/types.h>
> +#include <linux/bug.h>
> +#include <asm/hardware/cp14.h>
> +
> +#include <coresight-etm.h>
As coresight-etm.h is in drivers/coresight I had to use
-#include <coresight-etm.h>
+#include "coresight-etm.h"
Not sure if this somehow depends on the kernel version/tooling, though.
Best regards
Dirk
next prev parent reply other threads:[~2014-06-30 11:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-27 18:04 [PATCH 0/9 v2] Coresight framework and drivers mathieu.poirier at linaro.org
2014-06-27 18:04 ` [PATCH 1/9 v2] coresight: add CoreSight core layer framework mathieu.poirier at linaro.org
2014-06-27 22:01 ` Rob Herring
2014-07-02 17:06 ` Mathieu Poirier
2014-07-15 20:52 ` Mathieu Poirier
2014-06-30 10:53 ` Dirk Behme
2014-07-02 17:18 ` Mathieu Poirier
2014-07-02 9:38 ` Daniel Thompson
2014-07-02 19:06 ` Mathieu Poirier
2014-07-03 9:12 ` Daniel Thompson
2014-06-27 18:04 ` [PATCH 2/9 v2] coresight-tmc: add CoreSight TMC driver mathieu.poirier at linaro.org
2014-07-02 15:47 ` Daniel Thompson
2014-06-27 18:04 ` [PATCH 3/9 v2] coresight-tpiu: add CoreSight TPIU driver mathieu.poirier at linaro.org
2014-06-27 18:04 ` [PATCH 4/9 v2] coresight-etb: add CoreSight ETB driver mathieu.poirier at linaro.org
2014-06-27 18:04 ` [PATCH 5/9 v2] coresight-funnel: add CoreSight Funnel driver mathieu.poirier at linaro.org
2014-06-27 18:04 ` [PATCH 6/9 v2] coresight-etm: add CoreSight ETM/PTM driver mathieu.poirier at linaro.org
2014-06-30 11:01 ` Dirk Behme [this message]
2014-06-30 16:03 ` Mathieu Poirier
2014-06-27 18:04 ` [PATCH 7/9 v2] coresight: adding support for beagle and beagleXM mathieu.poirier at linaro.org
2014-06-27 18:04 ` [PATCH 8/9 v2] coresight: adding basic support for Vexpress TC2 mathieu.poirier at linaro.org
2014-07-01 9:19 ` Dirk Behme
2014-06-27 18:04 ` [PATCH 9/9 v2] ARM: removing support for etb/etm in "arch/arm/kernel/" mathieu.poirier at linaro.org
2014-07-01 10:32 ` [PATCH 0/9 v2] Coresight framework and drivers Al Grant
2014-07-02 19:32 ` Mathieu Poirier
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=53B14386.1040706@de.bosch.com \
--to=dirk.behme@de$(echo .)bosch.com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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