diff options
author | Jean PIHET <jpihet@mvista.com> | 2010-01-26 12:51:05 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:25:54 -0500 |
commit | 796d12959ad374cae8eb77faaf4243455a305433 (patch) | |
tree | c466fff6dbb8e0c16485ef5873d2ec2fb60dcf08 /arch/arm/Kconfig | |
parent | 1b8873a0c6ec511870c106c80b94658f857c47f2 (diff) |
ARM: 5903/1: arm/perfevents: add support for ARMv7
Adds the Performance Events support for ARMv7 processor, using
the PMNC unit in HW.
Supports the following:
- Cortex-A8 and Cortex-A9 processors,
- dynamic detection of the number of available counters,
based on the PMCR value,
- runtime detection of the CPU arch (v6 or v7)
and model (Cortex-A8 or Cortex-A9)
Tested on OMAP3 (Cortex-A8) only.
Signed-off-by: Jean Pihet <jpihet@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9fb91ce106bc..1d10b9064567 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1176,7 +1176,7 @@ config HIGHPTE | |||
1176 | 1176 | ||
1177 | config HW_PERF_EVENTS | 1177 | config HW_PERF_EVENTS |
1178 | bool "Enable hardware performance counter support for perf events" | 1178 | bool "Enable hardware performance counter support for perf events" |
1179 | depends on PERF_EVENTS && CPU_HAS_PMU && CPU_V6 | 1179 | depends on PERF_EVENTS && CPU_HAS_PMU && (CPU_V6 || CPU_V7) |
1180 | default y | 1180 | default y |
1181 | help | 1181 | help |
1182 | Enable hardware performance counter support for perf events. If | 1182 | Enable hardware performance counter support for perf events. If |