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

Kamalesh Babulal kamalesh at linux.vnet.ibm.com
Wed Dec 4 00:39:48 AEDT 2019


On 11/27/19 5:31 PM, Gautham R. Shenoy wrote:
> From: "Gautham R. Shenoy" <ego at linux.vnet.ibm.com>
> 
> 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 support
> to account for the idle SPURR ticks.

Thanks for working on it.

> 
> Signed-off-by: Gautham R. Shenoy <ego at linux.vnet.ibm.com>

Reviewed-by: Kamalesh Babulal <kamalesh at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list