aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/rtas.c
diff options
context:
space:
mode:
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>2020-09-21 03:10:04 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2020-10-06 23:22:27 +1100
commit3b6c3adbb2fa42749c3d38cfc4d4d0b7e096bb7b (patch)
tree399de3dfa6059a09b90f472259d47073932a8ced /arch/powerpc/kernel/rtas.c
parentpowerpc/smp: Optimize update_coregroup_mask (diff)
downloadlinux-dev-3b6c3adbb2fa42749c3d38cfc4d4d0b7e096bb7b.tar.xz
linux-dev-3b6c3adbb2fa42749c3d38cfc4d4d0b7e096bb7b.zip
powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraints
PMU counter support functions enforces event constraints for group of events to check if all events in a group can be monitored. Incase of event codes using PMC5 and PMC6 ( 500fa and 600f4 respectively ), not all constraints are applicable, say the threshold or sample bits. But current code includes pmc5 and pmc6 in some group constraints (like IC_DC Qualifier bits) which is actually not applicable and hence results in those events not getting counted when scheduled along with group of other events. Patch fixes this by excluding PMC5/6 from constraints which are not relevant for it. Fixes: 7ffd948 ("powerpc/perf: factor out power8 pmu functions") Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Reviewed-by: Madhavan Srinivasan <maddy@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1600672204-1610-1-git-send-email-atrajeev@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/kernel/rtas.c')
0 files changed, 0 insertions, 0 deletions