MIPS: PM: Add CPU PM callbacks for general CPU context
authorJames Hogan <james.hogan@imgtec.com>
Tue, 4 Mar 2014 10:11:39 +0000 (10:11 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Thu, 24 Apr 2014 14:15:54 +0000 (15:15 +0100)
commitb1d4c6cac02808b1d4e84d0187dc6014bffd2446
tree6a3dcb67c7ea0b44616efa3a1b2fcb327551775f
parenta798c10faf62a505d24e5f6213fbaf904a39623f
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>
arch/mips/Kconfig
arch/mips/kernel/Makefile
arch/mips/kernel/pm.c [new file with mode: 0644]
This page took 0.03979 seconds and 5 git commands to generate.