diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-02-07 21:01:21 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-02-21 11:11:02 +0000 |
commit | 2a3391cdb3c7bbea3be5cb39279764843a15ef25 (patch) | |
tree | e95bd4ba504b0c2bda02386e84d49f2f1fc1b699 /arch/arm/kernel/perf_event_cpu.c | |
parent | 3a3967ed9135f931f3848b0c946dcf3c10ca9f9a (diff) | |
download | talos-op-linux-2a3391cdb3c7bbea3be5cb39279764843a15ef25.tar.gz talos-op-linux-2a3391cdb3c7bbea3be5cb39279764843a15ef25.zip |
ARM: perf: add basic support for Krait CPU PMUs
Add basic support for the Krait CPU PMU. This allows us to use
the architected functionality of the PMU.
This is based on code originally written by Ashwin Chaugule and
Neil Leeder [1].
[1] https://www.codeaurora.org/cgit/quic/la/kernel/msm/tree/arch/arm/kernel/perf_event_msm_krait.c?h=msm-3.4
Cc: Neil Leeder <nleeder@codeaurora.org>
Cc: Ashwin Chaugule <ashwinc@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/perf_event_cpu.c')
-rw-r--r-- | arch/arm/kernel/perf_event_cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/perf_event_cpu.c b/arch/arm/kernel/perf_event_cpu.c index 68d02ca0ca1b..ed571d386c0b 100644 --- a/arch/arm/kernel/perf_event_cpu.c +++ b/arch/arm/kernel/perf_event_cpu.c @@ -229,6 +229,7 @@ static struct of_device_id cpu_pmu_of_device_ids[] = { {.compatible = "arm,arm11mpcore-pmu", .data = armv6mpcore_pmu_init}, {.compatible = "arm,arm1176-pmu", .data = armv6pmu_init}, {.compatible = "arm,arm1136-pmu", .data = armv6pmu_init}, + {.compatible = "qcom,krait-pmu", .data = krait_pmu_init}, {}, }; |