coresight: etmv4: Fix ETMv4x peripheral ID table
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 21 Jun 2016 16:10:52 +0000 (17:10 +0100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 6 Sep 2016 14:24:32 +0000 (08:24 -0600)
commit8839ffc7b6831ce0bf04ff9203dcd15a6c4d7be9
tree21689f63742bebc97d7971d1cd6fc290b62ad9e2
parent32bfbafe1db68d72f1a6b4debbcd4c50175a5fe6
coresight: etmv4: Fix ETMv4x peripheral ID table

This patch cleans up the peripheral id table for different ETMv4
implementations.

As per Cortex-A53 TRM, the ETM has following id values:

Peripheral ID0 0x5D 0xFE0
Peripheral ID1 0xB9 0xFE4
Peripheral ID2 0x4B 0xFE8
Peripheral ID3 0x00 0xFEC

where, PID2: has the following format:

[7:4]   Revision
[3]     JEDEC   0b1     res1. Indicates a JEP106 identity code is used
[2:0]   DES_1   0b011   ARM Limited. This is bits[6:4] of JEP106 ID code

The existing table entry checks only the bits [1:0], which is not
sufficient enough. Fix it to match bits [3:0], just like the other
entries do. While at it, correct the comment for A57 and the A53 entry.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm4x.c
This page took 0.024874 seconds and 5 git commands to generate.