perfcounters/powerpc: add support for POWER4 processors
authorPaul Mackerras <paulus@samba.org>
Fri, 6 Mar 2009 05:30:52 +0000 (16:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 6 Mar 2009 05:30:57 +0000 (16:30 +1100)
commit880860e392d92c457e8116cdee39ec4d109174ee
treef5eb17baf4b89f15c61fd0e4499786fdb9b6030e
parentaabbaa6036fd847c583f585c6bae82b5a033e6c7
perfcounters/powerpc: add support for POWER4 processors

Impact: more hardware support

This adds the back-end for the PMU on the POWER4 and POWER4+ processors
(GP and GQ).  This is quite similar to the PPC970, with 8 PMCs, but has
fewer events than the PPC970.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/perf_counter.c
arch/powerpc/kernel/power4-pmu.c [new file with mode: 0644]