Skip to content

Commit 2caaaca

Browse files
Sai Prakash Ranjanmathieupoirier
Sai Prakash Ranjan
authored andcommitted
coresight: etm4x: Add ETM PIDs for SDM845 and MSM8996
Instead of overriding the peripheral id(PID) check in AMBA by hardcoding them in DT, add the PIDs to the ETM4x driver. Here we use Unique Component Identifier(UCI) for MSM8996 since the ETM and CPU debug module shares the same PIDs. SDM845 does not support CPU debug module. Signed-off-by: Sai Prakash Ranjan <[email protected]> Reviewed-by: Suzuki K Poulose <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]>
1 parent a0f344e commit 2caaaca

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

drivers/hwtracing/coresight/coresight-etm4x.c

+9-5
Original file line numberDiff line numberDiff line change
@@ -1192,11 +1192,15 @@ static struct amba_cs_uci_id uci_id_etm4[] = {
11921192
};
11931193

11941194
static const struct amba_id etm4_ids[] = {
1195-
CS_AMBA_ID(0x000bb95d), /* Cortex-A53 */
1196-
CS_AMBA_ID(0x000bb95e), /* Cortex-A57 */
1197-
CS_AMBA_ID(0x000bb95a), /* Cortex-A72 */
1198-
CS_AMBA_ID(0x000bb959), /* Cortex-A73 */
1199-
CS_AMBA_UCI_ID(0x000bb9da, uci_id_etm4), /* Cortex-A35 */
1195+
CS_AMBA_ID(0x000bb95d), /* Cortex-A53 */
1196+
CS_AMBA_ID(0x000bb95e), /* Cortex-A57 */
1197+
CS_AMBA_ID(0x000bb95a), /* Cortex-A72 */
1198+
CS_AMBA_ID(0x000bb959), /* Cortex-A73 */
1199+
CS_AMBA_UCI_ID(0x000bb9da, uci_id_etm4),/* Cortex-A35 */
1200+
CS_AMBA_UCI_ID(0x000f0205, uci_id_etm4),/* Qualcomm Kryo */
1201+
CS_AMBA_UCI_ID(0x000f0211, uci_id_etm4),/* Qualcomm Kryo */
1202+
CS_AMBA_ID(0x000bb802), /* Qualcomm Kryo 385 Cortex-A55 */
1203+
CS_AMBA_ID(0x000bb803), /* Qualcomm Kryo 385 Cortex-A75 */
12001204
{},
12011205
};
12021206

0 commit comments

Comments
 (0)