Re: [PATCH 1/3] powerpc/pseries: Account for SPURR ticks on idle CPUs

2020-02-02 Thread Gautham R Shenoy
Hello Nathan, On Wed, Dec 04, 2019 at 04:24:52PM -0600, Nathan Lynch wrote: > "Gautham R. Shenoy" writes: > > diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c > > index a36fd05..708ec68 100644 > > --- a/arch/powerpc/kernel/idle.c > > +++ b/arch/powerpc/kernel/idle.c > > @@ -33

Re: [PATCH 1/3] powerpc/pseries: Account for SPURR ticks on idle CPUs

2019-12-04 Thread Nathan Lynch
"Gautham R. Shenoy" writes: > diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c > index a36fd05..708ec68 100644 > --- a/arch/powerpc/kernel/idle.c > +++ b/arch/powerpc/kernel/idle.c > @@ -33,6 +33,8 @@ > unsigned long cpuidle_disable = IDLE_NO_OVERRIDE; > EXPORT_SYMBOL(cpuidle

Re: [PATCH 1/3] powerpc/pseries: Account for SPURR ticks on idle CPUs

2019-12-03 Thread Kamalesh Babulal
On 11/27/19 5:31 PM, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > On PSeries LPARs, to compute the utilization, tools such as lparstat > need to know the [S]PURR ticks when the CPUs were busy or idle. > > In the pseries cpuidle driver, we keep track of the idle PURR ticks in > the VP

[PATCH 1/3] powerpc/pseries: Account for SPURR ticks on idle CPUs

2019-11-27 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" On PSeries LPARs, to compute the utilization, tools such as lparstat need to know the [S]PURR ticks when the CPUs were busy or idle. In the pseries cpuidle driver, we keep track of the idle PURR ticks in the VPA variable "wait_state_cycles". This patch extends the suppo