[Kernel-packages] [Bug 2060063] Re: PMU counters for Cortex-A78 not working correctly

2024-09-11 Thread Pablo Sun
Merging commit 5c816728651ae425954542fed64d21 into mtk-v5.15-dev, and the results remain the same: ``` root@genio-1200-evk:~# sudo taskset -c 7 perf stat -e armv8_cortex_a55/cpu_cycles/ -e armv8_cortex_a78/cpu_cycles/ -e cycles sleep 1 Performance counter stats for 'sleep 1': armv8_

[Kernel-packages] [Bug 2060063] Re: PMU counters for Cortex-A78 not working correctly

2024-09-11 Thread Pablo Sun
Hi Jianhui, Unfortunately, 1. This issue also occurs to mtk-v6.6 (our work-in-progress kernel branch) which is based on Linux 6.6.22. Could you show me the kernel git repo that Ubuntu Noble is using that does not have this issue? 2. After cherry-pick the following commit to mtk-v5.15, the

[Kernel-packages] [Bug 2060063] Re: PMU counters for Cortex-A78 not working correctly

2024-09-10 Thread Pablo Sun
Hi Jianhui, Thanks for letting us know, I can reproduce this issue in IoT Yocto's rity-demo-image on Genio 1200 EVK: ``` root@genio-1200-evk:~# sudo taskset -c 7 perf stat -e armv8_cortex_a55/cpu_cycles/ -e armv8_cortex_a78/cpu_cycles/ -e cycles stress -c 7 --timeout 1s stress-ng: info: [3843]