perfcounters/powerpc: add support for POWER5+ processors
commitaabbaa6036fd847c583f585c6bae82b5a033e6c7
authorPaul Mackerras <paulus@samba.org>
Fri, 6 Mar 2009 05:27:10 +0000 (6 16:27 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 6 Mar 2009 05:28:37 +0000 (6 16:28 +1100)
tree097a73e1546b7396b49031ab5a3e1d4c1e7c5598
parent86028598de16538f02519141756ccf4accfc29a6
perfcounters/powerpc: add support for POWER5+ processors

Impact: more hardware support

This adds the back-end for the PMU on the POWER5+ processors (i.e. GS,
including GS DD3 aka POWER5++).  This doesn't use the fixed-function
PMC5 and PMC6 since they don't respect the freeze conditions and don't
generate interrupts, as on POWER6.

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