All of lore.kernel.org
 help / color / mirror / Atom feed
From: pebolle@tiscali.nl (Paul Bolle)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 07/12] coresight-etm: add CoreSight ETM/PTM driver
Date: Mon, 10 Nov 2014 11:34:31 +0100	[thread overview]
Message-ID: <1415615671.4862.30.camel@x220> (raw)
In-Reply-To: <1415038066-22423-8-git-send-email-mathieu.poirier@linaro.org>

On Mon, 2014-11-03 at 11:07 -0700, 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.x and PTM1.x.
> 
> Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> 
> coresight-etm3x: adding missing error checking

This landed in today's linx-next (ie, next-20141110) as commit
a939fc5a71ad ("coresight-etm: add CoreSight ETM/PTM driver").

>  arch/arm/Kconfig.debug                 |    9 +
>  arch/arm/include/asm/hardware/cp14.h   |  542 +++++++++
>  drivers/coresight/Makefile             |    1 +
>  drivers/coresight/coresight-etm-cp14.c |  591 ++++++++++
>  drivers/coresight/coresight-etm.h      |  251 +++++
>  drivers/coresight/coresight-etm3x.c    | 1928 ++++++++++++++++++++++++++++++++
>  6 files changed, 3322 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.h
>  create mode 100644 drivers/coresight/coresight-etm3x.c
> 
>[...]
> diff --git a/drivers/coresight/coresight-etm3x.c b/drivers/coresight/coresight-etm3x.c
> new file mode 100644
> index 0000000..d9e3ed6
> --- /dev/null
> +++ b/drivers/coresight/coresight-etm3x.c
> @@ -0,0 +1,1928 @@
> +/* Copyright (c) 2011-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/module.h>
> +#include <linux/init.h>
> +#include <linux/types.h>
> +#include <linux/device.h>
> +#include <linux/io.h>
> +#include <linux/err.h>
> +#include <linux/fs.h>
> +#include <linux/slab.h>
> +#include <linux/delay.h>
> +#include <linux/smp.h>
> +#include <linux/sysfs.h>
> +#include <linux/stat.h>
> +#include <linux/clk.h>
> +#include <linux/cpu.h>
> +#include <linux/of.h>
> +#include <linux/coresight.h>
> +#include <linux/amba/bus.h>
> +#include <linux/seq_file.h>
> +#include <linux/uaccess.h>
> +#include <asm/sections.h>
> +
> +#include "coresight-etm.h"
> +
> +#ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE

There's no Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Neither
is there a preprocessor definition of this macro. So why was this
added? 

> +static int boot_enable = 1;
> +#else
> +static int boot_enable;
> +#endif
> +module_param_named(
> +	boot_enable, boot_enable, int, S_IRUGO
> +);


Paul Bolle

WARNING: multiple messages have this Message-ID (diff)
From: Paul Bolle <pebolle@tiscali.nl>
To: mathieu.poirier@linaro.org
Cc: Valentin Rothberg <valentinrothberg@gmail.com>,
	gregkh@linuxfoundation.org, linux@arm.linux.org.uk,
	pratikp@codeaurora.org, varshney@ti.com, Al.Grant@arm.com,
	jonas.svennebring@avagotech.com, james.king@linaro.org,
	kaixu.xia@linaro.org, marcin.jabrzyk@gmail.com,
	r.sengupta@samsung.com, robbelibobban@gmail.com,
	patches@linaro.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v9 07/12] coresight-etm: add CoreSight ETM/PTM driver
Date: Mon, 10 Nov 2014 11:34:31 +0100	[thread overview]
Message-ID: <1415615671.4862.30.camel@x220> (raw)
In-Reply-To: <1415038066-22423-8-git-send-email-mathieu.poirier@linaro.org>

On Mon, 2014-11-03 at 11:07 -0700, mathieu.poirier@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.x and PTM1.x.
> 
> Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> 
> coresight-etm3x: adding missing error checking

This landed in today's linx-next (ie, next-20141110) as commit
a939fc5a71ad ("coresight-etm: add CoreSight ETM/PTM driver").

>  arch/arm/Kconfig.debug                 |    9 +
>  arch/arm/include/asm/hardware/cp14.h   |  542 +++++++++
>  drivers/coresight/Makefile             |    1 +
>  drivers/coresight/coresight-etm-cp14.c |  591 ++++++++++
>  drivers/coresight/coresight-etm.h      |  251 +++++
>  drivers/coresight/coresight-etm3x.c    | 1928 ++++++++++++++++++++++++++++++++
>  6 files changed, 3322 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.h
>  create mode 100644 drivers/coresight/coresight-etm3x.c
> 
>[...]
> diff --git a/drivers/coresight/coresight-etm3x.c b/drivers/coresight/coresight-etm3x.c
> new file mode 100644
> index 0000000..d9e3ed6
> --- /dev/null
> +++ b/drivers/coresight/coresight-etm3x.c
> @@ -0,0 +1,1928 @@
> +/* Copyright (c) 2011-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/module.h>
> +#include <linux/init.h>
> +#include <linux/types.h>
> +#include <linux/device.h>
> +#include <linux/io.h>
> +#include <linux/err.h>
> +#include <linux/fs.h>
> +#include <linux/slab.h>
> +#include <linux/delay.h>
> +#include <linux/smp.h>
> +#include <linux/sysfs.h>
> +#include <linux/stat.h>
> +#include <linux/clk.h>
> +#include <linux/cpu.h>
> +#include <linux/of.h>
> +#include <linux/coresight.h>
> +#include <linux/amba/bus.h>
> +#include <linux/seq_file.h>
> +#include <linux/uaccess.h>
> +#include <asm/sections.h>
> +
> +#include "coresight-etm.h"
> +
> +#ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE

There's no Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Neither
is there a preprocessor definition of this macro. So why was this
added? 

> +static int boot_enable = 1;
> +#else
> +static int boot_enable;
> +#endif
> +module_param_named(
> +	boot_enable, boot_enable, int, S_IRUGO
> +);


Paul Bolle


  reply	other threads:[~2014-11-10 10:34 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-03 18:07 [PATCH v9 00/12] Coresight framework and drivers mathieu.poirier at linaro.org
2014-11-03 18:07 ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 01/12] coresight: add CoreSight core layer framework mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-07 19:30   ` Greg KH
2014-11-07 19:30     ` Greg KH
2014-11-07 19:30     ` Greg KH
2014-11-07 19:30       ` Greg KH
2014-11-07 21:39       ` Mathieu Poirier
2014-11-07 21:39         ` Mathieu Poirier
2014-11-07 21:48         ` Greg KH
2014-11-07 21:48           ` Greg KH
2014-11-03 18:07 ` [PATCH v9 02/12] coresight-tmc: add CoreSight TMC driver mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 03/12] coresight-tpiu: add CoreSight TPIU driver mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 04/12] coresight-etb: add CoreSight ETB driver mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 05/12] coresight-funnel: add CoreSight Funnel driver mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 06/12] coresight-replicator: add CoreSight Replicator driver mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 07/12] coresight-etm: add CoreSight ETM/PTM driver mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-10 10:34   ` Paul Bolle [this message]
2014-11-10 10:34     ` Paul Bolle
2014-11-10 15:40     ` Mathieu Poirier
2014-11-10 15:40       ` Mathieu Poirier
2014-11-10 19:32       ` Paul Bolle
2014-11-10 19:32         ` Paul Bolle
2015-01-12 11:34         ` Paul Bolle
2015-01-12 11:34           ` Paul Bolle
2015-01-12 15:05           ` Mathieu Poirier
2015-01-12 15:05             ` Mathieu Poirier
2014-11-03 18:07 ` [PATCH v9 08/12] coresight: documentation for coresight framework and drivers mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 09/12] coresight: adding support for beagle and beagleXM mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 10/12] coresight: adding basic support for Vexpress TC2 mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 11/12] coresight: adding basic support for D01 board mathieu.poirier at linaro.org
2014-11-03 18:07   ` mathieu.poirier
2014-11-03 18:07 ` [PATCH v9 12/12] ARM: removing support for etb/etm in "arch/arm/kernel/" mathieu.poirier at linaro.org
2014-11-03 18:07   ` 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=1415615671.4862.30.camel@x220 \
    --to=pebolle@tiscali.nl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.