Re: [PATCH V3] powerpc/perf: Adds support for programming of Thresholding in P10

2021-02-11 Thread Michael Ellerman
On Tue, 9 Feb 2021 15:22:34 +0530, Kajol Jain wrote: > Thresholding, a performance monitoring unit feature, can be > used to identify marked instructions which take more than > expected cycles between start event and end event. > Threshold compare (thresh_cmp) bits are programmed in MMCRA > registe

[PATCH V3] powerpc/perf: Adds support for programming of Thresholding in P10

2021-02-09 Thread Kajol Jain
Thresholding, a performance monitoring unit feature, can be used to identify marked instructions which take more than expected cycles between start event and end event. Threshold compare (thresh_cmp) bits are programmed in MMCRA register. In Power9, thresh_cmp bits were part of the event code. But