Re: [PATCH] powerpc/perf: Freeze PMC5/6 if we're not using them on Power8

2013-06-24 Thread Michael Ellerman
On Thu, Jun 13, 2013 at 12:09:47PM +0530, Anshuman Khandual wrote: > On 06/13/2013 06:46 AM, Michael Ellerman wrote: > > On Power8 we can freeze PMC5 and 6 if we're not using them. Normally they > > run all the time. > > > > index f7d1c4f..e791c68 100644 > > --- a/arch/powerpc/perf/power8-pmu.c > >

Re: [PATCH] powerpc/perf: Freeze PMC5/6 if we're not using them on Power8

2013-06-12 Thread Anshuman Khandual
On 06/13/2013 06:46 AM, Michael Ellerman wrote: > On Power8 we can freeze PMC5 and 6 if we're not using them. Normally they > run all the time. > > Signed-off-by: Michael Ellerman > --- > arch/powerpc/include/asm/reg.h |1 + > arch/powerpc/perf/power8-pmu.c |4 > 2 files changed, 5

[PATCH] powerpc/perf: Freeze PMC5/6 if we're not using them on Power8

2013-06-12 Thread Michael Ellerman
On Power8 we can freeze PMC5 and 6 if we're not using them. Normally they run all the time. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/reg.h |1 + arch/powerpc/perf/power8-pmu.c |4 2 files changed, 5 insertions(+) diff --git a/arch/powerpc/include/asm/reg.h b/arc