Skip to content

Commit 9643aaa

Browse files
nergzd723willdeacon
authored andcommitted
perf: arm_pmuv3: Add support for Samsung Mongoose PMU
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 <nergzd@nergzd723.xyz> Signed-off-by: Maksym Holovach <nergzd@nergzd723.xyz> Signed-off-by: Markuss Broks <markuss.broks@gmail.com> Link: https://lore.kernel.org/r/20241026-mongoose-pmu-v1-2-f1a7448054be@gmail.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent 3930c88 commit 9643aaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/perf/arm_pmuv3.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,8 @@ PMUV3_INIT_SIMPLE(armv8_neoverse_v3ae)
13731373
PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
13741374
PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
13751375

1376+
PMUV3_INIT_SIMPLE(armv8_samsung_mongoose)
1377+
13761378
PMUV3_INIT_MAP_EVENT(armv8_cortex_a35, armv8_a53_map_event)
13771379
PMUV3_INIT_MAP_EVENT(armv8_cortex_a53, armv8_a53_map_event)
13781380
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[] = {
14181420
{.compatible = "brcm,vulcan-pmu", .data = armv8_brcm_vulcan_pmu_init},
14191421
{.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init},
14201422
{.compatible = "nvidia,denver-pmu", .data = armv8_nvidia_denver_pmu_init},
1423+
{.compatible = "samsung,mongoose-pmu", .data = armv8_samsung_mongoose_pmu_init},
14211424
{},
14221425
};
14231426

0 commit comments

Comments
 (0)