ARM: perf: add basic support for Krait CPU PMUs
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 7 Feb 2014 21:01:21 +0000 (21:01 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 21 Feb 2014 11:11:02 +0000 (11:11 +0000)
commit2a3391cdb3c7bbea3be5cb39279764843a15ef25
treee95bd4ba504b0c2bda02386e84d49f2f1fc1b699
parent3a3967ed9135f931f3848b0c946dcf3c10ca9f9a
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>
arch/arm/kernel/perf_event_cpu.c
arch/arm/kernel/perf_event_v7.c