Re: [PATCH 08/15] ARM: etm: Support multiple ETMs/PTMs.

Linus Walleij
2012-06-28T16:00:28Z

On Thu, Jun 21, 2012 at 12:47 AM, John Stultz <john.stultz@linaro.org> wrote:

> From: Arve Hjønnevåg <arve@android.com>
>
> If more than one ETM or PTM are present, configure all of them
> and enable the formatter in the ETB. This allows tracing on dual
> core systems (e.g. omap4).
>
> CC: Russell King <linux@arm.linux.org.uk>
> CC: Paul Gortmaker <paul.gortmaker@windriver.com>
> CC: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> Acked-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> Signed-off-by: Arve Hjønnevåg <arve@android.com>
> Signed-off-by: John Stultz <john.stultz@linaro.org>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

> @@ -753,6 +827,10 @@ static struct amba_id etm_ids[] = {
>                .id     = 0x0003b921,
>                .mask   = 0x0007ffff,
>        },
> +       {
> +               .id     = 0x0003b950,
> +               .mask   = 0x0007ffff,
> +       },

Add some blurb to the commit that there is a newer version of the
ETM called PTM that has this ID (or whatever that thing is, I suspect
that's the ID of a PTM?)

Yours,
Linus Walleij