]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Fix the threshold event selection for memory events in power10
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>
Thu, 4 Mar 2021 06:40:15 +0000 (01:40 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Apr 2021 15:38:02 +0000 (01:38 +1000)
commit8fe7454a7c37082524dd7ecdc72065701b4cbad2
treeb28604141ca331a5524087bfc2ee6ce3735aef23
parent06842b86adb177531a50d0792d17aa23667daaa1
powerpc/perf: Fix the threshold event selection for memory events in power10

Memory events (mem-loads and mem-stores) currently use the threshold
event selection as issue to finish. Power10 supports issue to complete
as part of thresholding which is more appropriate for mem-loads and
mem-stores. Hence fix the event code for memory events to use issue
to complete.

Fixes: 2002c870d9cb ("powerpc/perf: power10 Performance Monitoring support")
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/1614840015-1535-1-git-send-email-atrajeev@linux.vnet.ibm.com
arch/powerpc/perf/power10-events-list.h