Re: [PATCH] perfcounters/powerpc: Add support for POWER5 processors

From: Ingo Molnar
Date: Thu Feb 26 2009 - 00:36:04 EST



* Paul Mackerras <paulus@xxxxxxxxx> wrote:

> This adds the back-end for the PMU on the POWER5 processor. This knows
> how to use the fixed-function PMC5 and PMC6 (instructions completed and
> run cycles). Unlike POWER6, PMC5/6 obey the freeze conditions and can
> generate interrupts, so their use doesn't impose any extra restrictions.
>
> POWER5+ is different and is not supported by this patch.
>
> Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>
> ---
> Ingo, please pull this from my perfcounters.git tree master branch at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/paulus/perfcounters.git master
>
> arch/powerpc/kernel/Makefile | 3 +-
> arch/powerpc/kernel/perf_counter.c | 4 +
> arch/powerpc/kernel/power5-pmu.c | 475 ++++++++++++++++++++++++++++++++++++
> 3 files changed, 481 insertions(+), 1 deletions(-)
> create mode 100644 arch/powerpc/kernel/power5-pmu.c

Pulled into tip:perfcounters/core, thanks Paul!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/