perf record doesn't work on rtd129x SoC

From: Wang YanQing
Date: Wed Dec 04 2019 - 00:02:37 EST


Hi Andreas Färber!

I use "perf record" to debug performance issue on RTD1296 SOC, it does't work, but
the "perf stat" is ok!

After some dig in the kernel, I find the reason is no pmu overflow interrupt, I think
below pmu configuration isn't right for RTD1296:
"
arm_pmu: arm-pmu {
compatible = "arm,cortex-a53-pmu";
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
};
"

We need 4 PMU SPI for RTD1296 (4 cores), and I guess the 48 isn't right too.

Any suggestion is welcome.

Thanks!