x86, olpc: Add XO-1 suspend/resume support
Add code needed for basic suspend/resume of the XO-1 laptop. Based on earlier work by Jordan Crouse, Andres Salomon, and others. This patch incorporates all earlier feedback from Thomas Gleixner. To clarify a certain point (now more obvious in the code itself): On resume, OpenFirmware returns execution to Linux in protected mode with a kernel-compatible GDT already set up. The changes and simplifications suggested have all been included. Signed-off-by:Daniel Drake <dsd@laptop.org> Link: http://lkml.kernel.org/r/1309019658-1712-5-git-send-email-dsd@laptop.org Acked-by:
Andres Salomon <dilinger@queued.net> Signed-off-by:
H. Peter Anvin <hpa@linux.intel.com>
Showing
- arch/x86/Kconfig 2 additions, 2 deletionsarch/x86/Kconfig
- arch/x86/include/asm/olpc.h 12 additions, 3 deletionsarch/x86/include/asm/olpc.h
- arch/x86/platform/olpc/Makefile 1 addition, 1 deletionarch/x86/platform/olpc/Makefile
- arch/x86/platform/olpc/olpc-xo1-pm.c 92 additions, 0 deletionsarch/x86/platform/olpc/olpc-xo1-pm.c
- arch/x86/platform/olpc/xo1-wakeup.S 124 additions, 0 deletionsarch/x86/platform/olpc/xo1-wakeup.S
- include/linux/cs5535.h 3 additions, 0 deletionsinclude/linux/cs5535.h
Loading
Please register or sign in to comment