summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/pm.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'wip-mips-pm' of https://github.com/paulburton/linux into ↵Ralf Baechle2014-05-291-8/+0
| | | | mips-for-linux-next
* MIPS: PM: Implement PM helper macrosJames Hogan2014-05-021-0/+167
Implement assembler helper macros in asm/pm.h for platform code to use for saving context across low power states - for example suspend to RAM or powered down cpuidle states. Macros are provided for saving and restoring the main CPU context used by C code and doing important configuration which must be done very early during resume. Notably EVA needs segmentation control registers to be restored before the stack or dynamically allocated memory is accessed, so that state is saved in global data. Signed-off-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
OpenPOWER on IntegriCloud