mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
powerpc/perf: Fix the threshold event selection for memory events in power10
[ Upstream commit66d9b74928] 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:a64e697cef("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 Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b6b894e7a2
commit
e06a532f31
@@ -66,5 +66,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);
|
||||
|
||||
Reference in New Issue
Block a user