Arm SPE profling support

A720 support Arm SPE, as the CPU integration on the chipset is enabled, while A520 CPU doesn’t support by the CPU itself. could you enable it via UEFI acpi table for A720 on Debian distro ?

one kernel detection driver output:

insmod-status-0
[629574.465225] spe_id_probe: CPU0 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465236] spe_id_probe: CPU0 PMSIDR=0x0000000000026457
[629574.465245] spe_id_probe: CPU1 MIDR=0x00000000410fd801 DFR0=0x100f11f010305719 PMSVer=0x0
[629574.465256] spe_id_probe: CPU2 MIDR=0x00000000410fd801 DFR0=0x100f11f010305719 PMSVer=0x0
[629574.465260] spe_id_probe: CPU3 MIDR=0x00000000410fd801 DFR0=0x100f11f010305719 PMSVer=0x0
[629574.465269] spe_id_probe: CPU4 MIDR=0x00000000410fd801 DFR0=0x100f11f010305719 PMSVer=0x0
[629574.465277] spe_id_probe: CPU5 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465280] spe_id_probe: CPU5 PMSIDR=0x0000000000026457
[629574.465286] spe_id_probe: CPU6 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465289] spe_id_probe: CPU6 PMSIDR=0x0000000000026457
[629574.465296] spe_id_probe: CPU7 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465300] spe_id_probe: CPU7 PMSIDR=0x0000000000026457
[629574.465306] spe_id_probe: CPU8 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465310] spe_id_probe: CPU8 PMSIDR=0x0000000000026457
[629574.465315] spe_id_probe: CPU9 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465318] spe_id_probe: CPU9 PMSIDR=0x0000000000026457
[629574.465324] spe_id_probe: CPU10 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465327] spe_id_probe: CPU10 PMSIDR=0x0000000000026457
[629574.465333] spe_id_probe: CPU11 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465337] spe_id_probe: CPU11 PMSIDR=0x0000000000026457
rmmod-status-0
[629574.465333] spe_id_probe: CPU11 MIDR=0x00000000410fd811 DFR0=0x100f11f310305719 PMSVer=0x3
[629574.465337] spe_id_probe: CPU11 PMSIDR=0x0000000000026457
[629574.505419] spe_id_probe: unloaded

the board evidence:

  • The board runs UEFI/ACPI, not DT.
  • A720 hardware advertises SPE v1.2 from EL1.
  • Firmware’s live ACPI MADT leaves every GICC SPE Interrupt field zero.
  • Linux 6.1 therefore does not create the armv8_spe_pmu platform device, so arm_spe_pmu.ko has no device to bind and perf exposes no arm_spe_* PMU.

Thanks.