Re: [PATCH 11/15] ARM: etm: Check arch version and disable datatracing for ptm

From: Linus Walleij
Date: Sat Jun 30 2012 - 15:34:58 EST


On Thu, Jun 28, 2012 at 11:31 PM, Arve Hjønnevåg <arve@xxxxxxxxxxx> wrote:
> On Thu, Jun 28, 2012 at 9:07 AM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>> On Thu, Jun 21, 2012 at 12:47 AM, John Stultz <john.stultz@xxxxxxxxxx> wrote:
>>
>>> +#define ETMR_ID 0x1e4
>>> +#define ETMIDR_VERSION(x) (((x) >> 4) & 0xff)

Damned I was reading 0x0fe4 ...

> Those values do not come from the same register. The revision is
> duplicated there, but I did not find the major and minor etm version
> which is what I'm looking at.

OK sorry for getting this backwards.

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

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/