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 <rgr...@us.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Gautham R. Shenoy <e...@linux.vnet.ibm.com>
Cc: Pratik Rajesh Sampat <psam...@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npig...@gmail.com>

Tested-by: Pratik Rajesh Sampat<psam...@linux.ibm.com>
Reviewed-by: Pratik Rajesh Sampat<psam...@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

Reply via email to