Thread (4 messages) 4 messages, 2 authors, 2017-11-24

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

From: Michael Ellerman <hidden>
Date: 2017-11-24 09:46:39

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 <redacted>
Applied to powerpc fixes, thanks.

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

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help