Skip to content

Commit 17b4add

Browse files
Sai Prakash Ranjangregkh
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3bf8c48 commit 17b4add

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

drivers/hwtracing/coresight/coresight-etm4x.c

Lines changed: 9 additions & 5 deletions
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)