diff options
| author | 2022-06-10 19:10:39 +0530 | |
|---|---|---|
| committer | 2022-06-28 23:56:37 +1000 | |
| commit | 42e0576eec75479fa7709c41e5c3b9ec556b8f4d (patch) | |
| tree | d881f73fba854197c84ce60565482c2010efccdf /scripts/Makefile.thinlto | |
| parent | powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable (diff) | |
selftests/powerpc/pmu: Add mask/shift bits for extracting threshold compare field
In power10, threshold compare field is not part of the raw event code
and provided via event attribute config1. Hence add the mask and shift
bits based on event attribute config1, to extract the threshold compare
value for power10
Also add a new function called get_thresh_cmp_val to compute and return
the threshold compare field for a given platform, since incase of
power10, threshold compare value provided is decimal.
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220610134113.62991-2-atrajeev@linux.vnet.ibm.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
