--- zzzz-none-000/linux-5.4.213/include/linux/coresight-pmu.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/include/linux/coresight-pmu.h 2024-08-14 09:02:08.000000000 +0000 @@ -8,7 +8,7 @@ #define _LINUX_CORESIGHT_PMU_H #define CORESIGHT_ETM_PMU_NAME "cs_etm" -#define CORESIGHT_ETM_PMU_SEED 0x10 +#define CORESIGHT_ETM_PMU_SEED 0x01 /* ETMv3.5/PTM's ETMCR config bit */ #define ETM_OPT_CYCACC 12 @@ -30,7 +30,7 @@ * the common convention is to have data trace IDs be I(N) + 1, * set instruction trace IDs as a function of the CPU number. */ - return (CORESIGHT_ETM_PMU_SEED + (cpu * 2)); + return (CORESIGHT_ETM_PMU_SEED + cpu); } #endif