Re: [PATCH v8 07/10] powerpc/perf: PMU functions for Core IMC and hotplugging

2017-05-17 Thread Stewart Smith
Anju T Sudhakar writes: > --- a/arch/powerpc/include/asm/imc-pmu.h > +++ b/arch/powerpc/include/asm/imc-pmu.h > @@ -24,6 +24,7 @@ > */ > #define IMC_MAX_CHIPS32 > #define IMC_MAX_PMUS 32 > +#define IMC_MAX_CORES32 > > /* > * Th

[PATCH v8 07/10] powerpc/perf: PMU functions for Core IMC and hotplugging

2017-05-04 Thread Anju T Sudhakar
From: Hemant Kumar This patch adds the PMU function to initialize a core IMC event. It also adds cpumask initialization function for core IMC PMU. For initialization, a 8KB of memory is allocated per core where the data for core IMC counters will be accumulated. The base address for this page is