MIPS: Add hibernation support
[Ralf: SMP support requires CPU hotplugging which MIPS currently doesn't support. As implemented in this patch cache and tlb flushing will also be invoked with interrupts disabled so smp_call_function() will blow up in charming ways. So limit to !SMP.] Reviewed-by:Pavel Machek <pavel@ucw.cz> Reviewed-by:
Yan Hua <yanh@lemote.com> Reviewed-by:
Arnaud Patard <apatard@mandriva.com> Reviewed-by:
Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by:
Wu Zhangjin <wuzj@lemote.com> Signed-off-by:
Hu Hongbing <huhb@lemote.com> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
Showing
- arch/mips/Kconfig 4 additions, 0 deletionsarch/mips/Kconfig
- arch/mips/Makefile 3 additions, 0 deletionsarch/mips/Makefile
- arch/mips/include/asm/suspend.h 9 additions, 0 deletionsarch/mips/include/asm/suspend.h
- arch/mips/kernel/asm-offsets.c 13 additions, 0 deletionsarch/mips/kernel/asm-offsets.c
- arch/mips/power/Makefile 1 addition, 0 deletionsarch/mips/power/Makefile
- arch/mips/power/cpu.c 43 additions, 0 deletionsarch/mips/power/cpu.c
- arch/mips/power/hibernate.S 70 additions, 0 deletionsarch/mips/power/hibernate.S
Loading
Please register or sign in to comment