ARM: perf: add support for the Cortex-A5 PMU

This patch adds support for the Cortex-A5 PMU to the ARMv7 perf-event
backend.

Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
Will Deacon
2011-06-03 17:40:15 +01:00
parent 6d4eaf991c
commit 0c205cbe20
3 changed files with 150 additions and 0 deletions

View File

@@ -660,6 +660,9 @@ init_hw_perf_events(void)
case 0xC090: /* Cortex-A9 */
armpmu = armv7_a9_pmu_init();
break;
case 0xC050: /* Cortex-A5 */
armpmu = armv7_a5_pmu_init();
break;
}
/* Intel CPUs [xscale]. */
} else if (0x69 == implementor) {