[v2,2/2] powerpc/perf: Fix IMC_MAX_PMU macro

Michael Ellerman patch-notifications at ellerman.id.au
Fri Nov 24 20:46:38 AEDT 2017


On Wed, 2017-11-22 at 05:15:39 UTC, Madhavan Srinivasan wrote:
> IMC_MAX_PMU is used for static storage (per_nest_pmu_arr) which holds
> nest pmu information. Current value for the macro is 32 based on
> the initial number of nest pmu units supported by the nest microcode.
> But going forward, microcode could support more nest units. Instead
> of static storage, patch to fix the code to dynamically allocate an
> array based on the number of nest imc units found in the device tree.
> 
> Fixes:8f95faaac56c1 ('powerpc/powernv: Detect and create IMC device')
> Signed-off-by: Madhavan Srinivasan <maddy at linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/73ce9aec65b17433e18163d07eb5cb

cheers


More information about the Linuxppc-dev mailing list