]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: traps: Add CPU PM callback for trap configuration
authorJames Hogan <james.hogan@imgtec.com>
Tue, 4 Mar 2014 10:20:43 +0000 (10:20 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Fri, 2 May 2014 15:38:59 +0000 (16:38 +0100)
commite0652e5f0c3caee8488eb02238d10f133aa6606e
tree2a7968ce0e47cc0a9ce0e52479b510158321af70
parent541d4dee041e89956778dc45a3e93051a78f0670
MIPS: traps: Add CPU PM callback for trap configuration

Implement a CPU power management callback for restoring trap related CPU
configuration after CPU power up from a low power state. The following
state is restored:

- Status register
- HWREna register
- Exception vector configuration registers
- Context/XContext register

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/mmu_context.h
arch/mips/kernel/traps.c