aboutsummaryrefslogtreecommitdiff
path: root/include/linux/maple.h
diff options
context:
space:
mode:
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>2020-11-26 11:54:41 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-04 01:01:29 +1100
commitc0e3985790251b307b7b71b687ed0128741b3f34 (patch)
tree1ad319d94838aeaf02a3185bd587b772ecfbca0f /include/linux/maple.h
parent0263bbb377af0c2d38bc8b2ad2ff147e240094de (diff)
powerpc/perf: Add generic and cache event list for power10 DD1
There are event code updates for some of the generic events and cache events for power10. Inorder to maintain the current event codes work with DD1 also, create a new array of generic_events, cache_events and pmu_attr_groups with suffix _dd1, example, power10_events_attr_dd1. So that further updates to event codes can be made in the original list, ie, power10_events_attr. Update the power10 pmu init code to pick the dd1 list while registering the power PMU, based on the pvr (Processor Version Register) value. Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1606409684-1589-5-git-send-email-atrajeev@linux.vnet.ibm.com
Diffstat (limited to 'include/linux/maple.h')
0 files changed, 0 insertions, 0 deletions