]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Add restrictions to PMC5 in power9 DD1
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Sun, 12 Feb 2017 17:03:15 +0000 (22:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2017 10:48:54 +0000 (21:48 +1100)
commit08907bd080e27fd41adc2df412c52811c7576874
treecf55b2971dbb391e076d5bb3bfd3e97f835fc905
parent8d8a33b399583db79ba6f66710500f56a6276298
powerpc/perf: Add restrictions to PMC5 in power9 DD1

PMC5 on POWER9 DD1 may not provide right counts in all
sampling scenarios, hence use PM_INST_DISP event instead
in PMC2 or PMC3 in preference.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/isa207-common.h
arch/powerpc/perf/power9-pmu.c