diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-03-04 05:11:39 -0500 |
---|---|---|
committer | Paul Burton <paul.burton@imgtec.com> | 2014-04-24 10:15:54 -0400 |
commit | b1d4c6cac02808b1d4e84d0187dc6014bffd2446 (patch) | |
tree | 6a3dcb67c7ea0b44616efa3a1b2fcb327551775f /arch/mips/Kconfig | |
parent | a798c10faf62a505d24e5f6213fbaf904a39623f (diff) |
MIPS: PM: Add CPU PM callbacks for general CPU context
Add a CPU power management notifier callback for preserving general CPU
context. The CPU PM callbacks will be triggered by the powering down of
CPU cores, for example by cpuidle drivers & in the future by suspend to
RAM implementations.
The current state preserved is mostly related to the process context:
- FPU
- DSP
- ASID
- UserLocal
- Watch registers
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 5cd695f905a1..322bbe12412e 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -50,6 +50,7 @@ config MIPS | |||
50 | select CLONE_BACKWARDS | 50 | select CLONE_BACKWARDS |
51 | select HAVE_DEBUG_STACKOVERFLOW | 51 | select HAVE_DEBUG_STACKOVERFLOW |
52 | select HAVE_CC_STACKPROTECTOR | 52 | select HAVE_CC_STACKPROTECTOR |
53 | select CPU_PM if CPU_IDLE | ||
53 | 54 | ||
54 | menu "Machine selection" | 55 | menu "Machine selection" |
55 | 56 | ||