diff options
author | Will Deacon <will.deacon@arm.com> | 2011-01-19 09:24:38 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-07-07 14:20:53 -0400 |
commit | 14abd038a7a209193c58ee7dde01ef4bf1523a91 (patch) | |
tree | b15149ba9d40752221d6e5e1d1f40d5d3f9e989a /arch/arm/kernel/perf_event.c | |
parent | 0c205cbe20654616e2f8389c0c1ff707d9dccb63 (diff) |
ARM: perf: add support for the Cortex-A15 PMU
This patch adds support for the Cortex-A15 PMU to the ARMv7
perf-event backend.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/perf_event.c')
-rw-r--r-- | arch/arm/kernel/perf_event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c index df4e517687bf..262ea67f60ae 100644 --- a/arch/arm/kernel/perf_event.c +++ b/arch/arm/kernel/perf_event.c | |||
@@ -663,6 +663,9 @@ init_hw_perf_events(void) | |||
663 | case 0xC050: /* Cortex-A5 */ | 663 | case 0xC050: /* Cortex-A5 */ |
664 | armpmu = armv7_a5_pmu_init(); | 664 | armpmu = armv7_a5_pmu_init(); |
665 | break; | 665 | break; |
666 | case 0xC0F0: /* Cortex-A15 */ | ||
667 | armpmu = armv7_a15_pmu_init(); | ||
668 | break; | ||
666 | } | 669 | } |
667 | /* Intel CPUs [xscale]. */ | 670 | /* Intel CPUs [xscale]. */ |
668 | } else if (0x69 == implementor) { | 671 | } else if (0x69 == implementor) { |