Re: [V2] powerpc/perf: Fix cycles/instructions as PM_CYC/PM_INST_CMPL in power10

2021-10-17 Thread Michael Ellerman
On Thu, 7 Oct 2021 13:21:21 +0530, Athira Rajeev wrote: > From: Athira Rajeev > > In power9 and before platforms, the default event used for cyles and > instructions is PM_CYC (0x0001e) and PM_INST_CMPL (0x2) respectively. > These events uses two programmable PMCs and by default will count >

[V2] powerpc/perf: Fix cycles/instructions as PM_CYC/PM_INST_CMPL in power10

2021-10-07 Thread Athira Rajeev
From: Athira Rajeev In power9 and before platforms, the default event used for cyles and instructions is PM_CYC (0x0001e) and PM_INST_CMPL (0x2) respectively. These events uses two programmable PMCs and by default will count irrespective of the run latch state. But since it is using programma