[PATCH 0/8] ACPI: arm64: Support PMU on Heterogeneous Systems

Johnny Fan johnny.fan at cixtech.com
Wed Nov 25 18:15:02 PST 2026


On Mon, Nov 16, 2026 at 06:21:27PM +0000, Leo Yan wrote:
> This series has been tested on Orion O6, with four little Cortex-A520
> cores (CPUs 2-5) and eight big Cortex-A720 cores (CPUs 0-1 and 6-11).
> It exposes the following PMU devices:
> 
>   # ls /sys/bus/event_source/devices/
>   arm_spe_0  armv8_pmuv3_0  armv8_pmuv3_1  breakpoint  cs_etm  kprobe  software  tracepoint  uprobe
>   # cat /sys/bus/event_source/devices/armv8_pmuv3_0/cpus
>   0-1,6-11
>   # cat /sys/bus/event_source/devices/armv8_pmuv3_1/cpus
>   2-5
>   # cat /sys/bus/event_source/devices/arm_spe_0/cpumask
>   0-1,6-11
>   # ls /sys/bus/event_source/devices/cs_etm/sinks/
>   trbe0  trbe1  trbe10  trbe11  trbe2  trbe3  trbe4  trbe5  trbe6  trbe7  trbe8  trbe9
> 
> The CPU PMU masks match the MIDR groups: eight A720 CPUs and four A520
> CPUs. SPE uses the A720 mask, and TRBE exposes one sink per CPU.
> 

Hi Leo,

Tested on a CIX internal development board (Sky1 SoC, 12 cores,
Hunter 0-1,6-11 / Hayes 2-5) with the latest internal firmware, on
top of 7.3-rc7.

  arm_spe_0/cpumask   = 0-1,6-11
  armv8_pmuv3_0/cpus  = 0-1,6-11
  armv8_pmuv3_1/cpus  = 2-5

SPE sampling works on the Hunter cores, CPU PMU events work on both
CPU groups, and the boot log is clean. I did not test the TRBE sinks.

Tested-by: Johnny Fan <johnny.fan at cixtech.com>

Thanks,
Johnny



More information about the linux-arm-kernel mailing list