Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-11-09 Thread Athira Rajeev
On 04-Nov-2021, at 11:25 AM, Michael Ellerman wrote:Nathan Lynch writes:Nicholas Piggin writes:Excerpts from Michael Ellerman's message of October 29, 2021 11:15 pm:Nicholas Piggin writes:Excerpts from Athira

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-11-04 Thread Nicholas Piggin
Excerpts from Nathan Lynch's message of November 4, 2021 7:11 am: > Nicholas Piggin writes: >> Excerpts from Michael Ellerman's message of October 29, 2021 11:15 pm: >>> Nicholas Piggin writes: Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: > @@ -631,12 +632,18 @@

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-11-03 Thread Michael Ellerman
Nathan Lynch writes: > Nicholas Piggin writes: >> Excerpts from Michael Ellerman's message of October 29, 2021 11:15 pm: >>> Nicholas Piggin writes: Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: > @@ -631,12 +632,18 @@ static int pseries_migrate_partition(u64

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-11-03 Thread Nathan Lynch
Nicholas Piggin writes: > Excerpts from Michael Ellerman's message of October 29, 2021 11:15 pm: >> Nicholas Piggin writes: >>> Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: @@ -631,12 +632,18 @@ static int pseries_migrate_partition(u64 handle) if (ret)

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-11-02 Thread Athira Rajeev
> On 29-Oct-2021, at 6:45 PM, Michael Ellerman wrote: > > Nicholas Piggin mailto:npig...@gmail.com>> writes: >> Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: >>> During Live Partition Migration (LPM), it is observed that perf >>> counter values reports zero post migration

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-11-02 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of October 29, 2021 11:15 pm: > Nicholas Piggin writes: >> Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: >>> @@ -631,12 +632,18 @@ static int pseries_migrate_partition(u64 handle) >>> if (ret) >>> return ret; >>> >>>

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-11-02 Thread Athira Rajeev
> On 29-Oct-2021, at 11:46 AM, Nicholas Piggin wrote: > > Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: >> During Live Partition Migration (LPM), it is observed that perf >> counter values reports zero post migration completion. However >> 'perf stat' with workload

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-10-29 Thread Michael Ellerman
Nicholas Piggin writes: > Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: >> During Live Partition Migration (LPM), it is observed that perf >> counter values reports zero post migration completion. However >> 'perf stat' with workload continues to show counts post migration >>

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-10-29 Thread kernel test robot
Hi Athira, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on tip/perf/core v5.15-rc7 next-20211028] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as

Re: [V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-10-29 Thread Nicholas Piggin
Excerpts from Athira Rajeev's message of October 29, 2021 1:05 pm: > During Live Partition Migration (LPM), it is observed that perf > counter values reports zero post migration completion. However > 'perf stat' with workload continues to show counts post migration > since PMU gets

[V3] powerpc/perf: Enable PMU counters post partition migration if PMU is active

2021-10-28 Thread Athira Rajeev
During Live Partition Migration (LPM), it is observed that perf counter values reports zero post migration completion. However 'perf stat' with workload continues to show counts post migration since PMU gets disabled/enabled during sched switches. But incase of system/cpu wide monitoring, zero