[1/2] powerpc/perf: Fix pmu_count to count only nest imc pmus

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


On Wed, 2017-11-22 at 05:15:38 UTC, Madhavan Srinivasan wrote:
> "pmu_count" in opal_imc_counters_probe() is intended to hold
> the number of successful nest imc pmu registerations. But
> current code also counts other imc units like core_imc and
> thread_imc. Patch add a check to count only nest imc pmus.
> 
> Signed-off-by: Madhavan Srinivasan <maddy at linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/de34787f1096cce38e2590be0013b4

cheers


More information about the Linuxppc-dev mailing list