[PATCH] powerpc/powernv/idle: add a basic stop 0-3 driver for POWER10
Pratik Sampat
psampat at linux.ibm.com
Thu Aug 20 05:08:32 AEST 2020
On 19/08/20 3:17 pm, Nicholas Piggin wrote:
> This driver does not restore stop > 3 state, so it limits itself
> to states which do not lose full state or TB.
>
> The POWER10 SPRs are sufficiently different from P9 that it seems
> easier to split out the P10 code. The POWER10 deep sleep code
> (e.g., the BHRB restore) has been taken out, but it can be re-added
> when stop > 3 support is added.
>
> Cc: Ryan P Grimm <rgrimm at us.ibm.com>
> Cc: Michael Neuling <mikey at neuling.org>
> Cc: Gautham R. Shenoy <ego at linux.vnet.ibm.com>
> Cc: Pratik Rajesh Sampat <psampat at linux.ibm.com>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
>
Tested-by: Pratik Rajesh Sampat<psampat at linux.ibm.com>
Reviewed-by: Pratik Rajesh Sampat<psampat at linux.ibm.com>
I've tested the patch on P9 and P10, can verify the corresponding code
paths are being taken for their respective architecture and cpuidle is
being exercised with the correct set of advertised stop states in each
case.
The patch looks good to me.
---
Thanks,
Pratik
More information about the Linuxppc-dev
mailing list