diff options
author | Nicholas Piggin <[email protected]> | 2020-08-19 19:47:00 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-09-15 22:13:38 +1000 |
commit | ffd2961bb41f797eb00b58e019b707555197275e (patch) | |
tree | 8fa4d6cffce25917a37c5951d6b2c7e927f79eb0 /arch/powerpc/include/asm/machdep.h | |
parent | 79b123cdf9cf0d4a1620baa8c611962626323a08 (diff) |
powerpc/powernv/idle: add a basic stop 0-3 driver for POWER10
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.
Signed-off-by: Nicholas Piggin <[email protected]>
Tested-by: Pratik Rajesh Sampat<[email protected]>
Tested-by: Vaidyanathan Srinivasan <[email protected]>
Reviewed-by: Pratik Rajesh Sampat<[email protected]>
Reviewed-by: Gautham R. Shenoy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index a90b892f0bfe..5082cd496190 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -222,8 +222,6 @@ struct machdep_calls { extern void e500_idle(void); extern void power4_idle(void); -extern void power7_idle(void); -extern void power9_idle(void); extern void ppc6xx_idle(void); extern void book3e_idle(void); |