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)
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>

No differences found