[PATCH 2/3] powerpc/perf: add 2 additional performance monitor counters for e6500 core
Pan Lijun-B44306
B44306 at freescale.com
Thu Jun 6 02:57:02 EST 2013
> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Tuesday, June 04, 2013 1:11 PM
> To: Pan Lijun-B44306
> Cc: linuxppc-dev at ozlabs.org; Pan Lijun-B44306
> Subject: Re: [PATCH 2/3] powerpc/perf: add 2 additional performance
> monitor counters for e6500 core
>
> On 05/29/2013 05:12:41 PM, Lijun Pan wrote:
> > diff --git a/arch/powerpc/kernel/cputable.c
> > b/arch/powerpc/kernel/cputable.c
> > index cc39139..2d4eee2 100644
> > --- a/arch/powerpc/kernel/cputable.c
> > +++ b/arch/powerpc/kernel/cputable.c
> > @@ -2073,7 +2073,7 @@ static struct cpu_spec __initdata cpu_specs[] =
> > {
> > MMU_FTR_USE_TLBILX,
> > .icache_bsize = 64,
> > .dcache_bsize = 64,
> > - .num_pmcs = 4,
> > + .num_pmcs = 6,
> > .oprofile_cpu_type = "ppc/e6500",
> > .oprofile_type = PPC_OPROFILE_FSL_EMB,
> > .cpu_setup = __setup_cpu_e6500,
>
> This will overflow MAX_HWEVENTS. Please include "powerpc perf:
> increase the perf HW events to 6" from our SDK tree before this patch
> (be sure to change "powerpc perf" to "powerpc/perf" and remove the
> gerrit tags when you do so).
>
> -Scott
I have done that.
-Lijun
More information about the Linuxppc-dev
mailing list