summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorZi Shen Lim <zlim@netlogicmicro.com>2012-10-31 12:01:28 +0000
committerJohn Crispin <blogic@openwrt.org>2012-11-09 11:37:18 +0100
commit4be3d2f3966b9f010bb997dcab25e7af489a841e (patch)
treeb033e91f2cb786e0e9fd3d0fbdcca33ecb5cf308 /arch/mips/Kconfig
parentc783390a0ecef08df5c804f8c5f647431a04f502 (diff)
downloadop-kernel-dev-4be3d2f3966b9f010bb997dcab25e7af489a841e.zip
op-kernel-dev-4be3d2f3966b9f010bb997dcab25e7af489a841e.tar.gz
MIPS: perf: Add XLP support for hardware perf.
Add support for XLP performance counters register in perf. Update mips/Kconfig so that perf events can be selected for XLP. Signed-off-by: Zi Shen Lim <zlim@netlogicmicro.com> Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4457 Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index dba9390..a4919b0 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2186,7 +2186,7 @@ config NODES_SHIFT
config HW_PERF_EVENTS
bool "Enable hardware performance counter support for perf events"
- depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON)
+ depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
default y
help
Enable hardware performance counter support for perf events. If
OpenPOWER on IntegriCloud