[PATCH] powerpc/powernv/idle: add a basic stop 0-3 driver for POWER10

Pratik Sampat psampat at linux.ibm.com
Thu Aug 20 03:40:18 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>
>
Fixes: 8747bf36f312 ("powerpc/powernv/idle: Replace CPU feature check 
with PVR check")

The patch fixes the commit 8747bf36f312 which had setup idle for only 
for the P9 PVR.

---
Thanks for fixing this!
Pratik


More information about the Linuxppc-dev mailing list