]> Git Repo - linux.git/commitdiff
perf: arm_pmuv3: Add support for Samsung Mongoose PMU
authorMarkuss Broks <[email protected]>
Sat, 26 Oct 2024 20:28:09 +0000 (23:28 +0300)
committerWill Deacon <[email protected]>
Tue, 29 Oct 2024 13:23:25 +0000 (13:23 +0000)
Add support for the Samsung Mongoose CPU core PMU.

This just adds the names and links to DT compatible strings.

Co-developed-by: Maksym Holovach <[email protected]>
Signed-off-by: Maksym Holovach <[email protected]>
Signed-off-by: Markuss Broks <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
drivers/perf/arm_pmuv3.c

index bb93d32b86ea1613431f2252452249d26f65e6a8..b5cc11abc962cc80e87afa26688a59f381eea105 100644 (file)
@@ -1373,6 +1373,8 @@ PMUV3_INIT_SIMPLE(armv8_neoverse_v3ae)
 PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
 PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
 
+PMUV3_INIT_SIMPLE(armv8_samsung_mongoose)
+
 PMUV3_INIT_MAP_EVENT(armv8_cortex_a35, armv8_a53_map_event)
 PMUV3_INIT_MAP_EVENT(armv8_cortex_a53, armv8_a53_map_event)
 PMUV3_INIT_MAP_EVENT(armv8_cortex_a57, armv8_a57_map_event)
@@ -1418,6 +1420,7 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = {
        {.compatible = "brcm,vulcan-pmu",       .data = armv8_brcm_vulcan_pmu_init},
        {.compatible = "nvidia,carmel-pmu",     .data = armv8_nvidia_carmel_pmu_init},
        {.compatible = "nvidia,denver-pmu",     .data = armv8_nvidia_denver_pmu_init},
+       {.compatible = "samsung,mongoose-pmu",  .data = armv8_samsung_mongoose_pmu_init},
        {},
 };
 
This page took 0.068413 seconds and 4 git commands to generate.