Commit 66d9b749 authored by Athira Rajeev's avatar Athira Rajeev Committed by Michael Ellerman
Browse files

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: a64e697c ("powerpc/perf: power10 Performance Monitoring support")
Signed-off-by: default avatarAthira Rajeev <atrajeev@linux.vnet.ibm.com>
Reviewed-by: default avatarMadhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1614840015-1535-1-git-send-email-atrajeev@linux.vnet.ibm.com
parent b4ded422
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -75,5 +75,5 @@ EVENT(PM_RUN_INST_CMPL_ALT, 0x00002);
 *     thresh end (TE)
 */

EVENT(MEM_LOADS,				0x34340401e0);
EVENT(MEM_STORES,				0x343c0401e0);
EVENT(MEM_LOADS,				0x35340401e0);
EVENT(MEM_STORES,				0x353c0401e0);