perf_counters: powerpc: Add support for POWER7 processors
authorPaul Mackerras <paulus@samba.org>
Thu, 11 Jun 2009 04:54:01 +0000 (14:54 +1000)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Jun 2009 14:48:37 +0000 (16:48 +0200)
commit4da52960fd1ae3ddd14901bc88b608cbeaa4b9a6
tree26adb099aeb48c19209bc92fc31bfb7a8cad4aa5
parent9e350de37ac9607012fcf9c5314a28fbddf8f43c
perf_counters: powerpc: Add support for POWER7 processors

This adds the back-end for the PMU on POWER7 processors.  POWER7
has 4 fully-programmable counters and two fixed-function counters
(which do respect the freeze conditions, can generate interrupts,
and are writable, unlike PMC5/6 on POWER5+/6).

Signed-off-by: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <18992.36329.189378.17992@drongo.ozlabs.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/perf_counter.c
arch/powerpc/kernel/power7-pmu.c [new file with mode: 0644]