[PATCH 3/3] perf: arm_pmuv3: add Phytium FTC310 and FTC664 PMU support
From: Harry Bit
Date: Fri Nov 27 2026 - 22:55:24 EST
From: Chen Baozi <chenbaozi@xxxxxxxxxxxxxx>
Add PMUv3 device table entries and event mapping initializers for the
Phytium FTC310 and FTC664 ARMv8 cores.
Signed-off-by: Chen Baozi <chenbaozi@xxxxxxxxxxxxxx>
Co-developed-by: Harry Bit <idleassetsd@xxxxxxxxx>
Signed-off-by: Harry Bit <idleassetsd@xxxxxxxxx>
---
drivers/perf/arm_pmuv3.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c
index 03359e0783..42f043444c 100644
--- a/drivers/perf/arm_pmuv3.c
+++ b/drivers/perf/arm_pmuv3.c
@@ -1559,6 +1559,9 @@ PMUV3_INIT_SIMPLE(armv8_rainier)
PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
+PMUV3_INIT_SIMPLE(armv8_phytium_ftc310)
+PMUV3_INIT_SIMPLE(armv8_phytium_ftc664)
+
PMUV3_INIT_SIMPLE(armv8_samsung_mongoose)
PMUV3_INIT_MAP_EVENT(armv8_cortex_a35, armv8_a53_map_event)
@@ -1613,6 +1616,8 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = {
{.compatible = "cavium,thunder-pmu", .data = armv8_cavium_thunder_pmu_init},
{.compatible = "brcm,vulcan-pmu", .data = armv8_brcm_vulcan_pmu_init},
{.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init},
+ {.compatible = "phytium,ftc310-pmu", .data = armv8_phytium_ftc310_pmu_init},
+ {.compatible = "phytium,ftc664-pmu", .data = armv8_phytium_ftc664_pmu_init},
{.compatible = "nvidia,denver-pmu", .data = armv8_nvidia_denver_pmu_init},
{.compatible = "samsung,mongoose-pmu", .data = armv8_samsung_mongoose_pmu_init},
{},
--
2.47.3