OLPC PM - the early years
2007-03-01 00:32:15 GMT
Now that Mitch has his fast path resume working, it is time for the kernel guys to earn their keep too. OFW now handles the actual suspend and resume of the core - we call into the subroutine at 0xf0000, the system suspends, and upon resume, control comes back to us. OFW even nicely restores us back to protected mode, which simplifies things greatly. So, replacing what we had previously, we just set up the SCI wakeup bits (and soon, GPE0 bits, right EC hackers?), save our current processor state, call into the routine, and the do it all backwards. I also added suspend/resume functionality for the MFGPT timers, so that the MFGPT clock event gets correctly restored for NOHZ mode. The patch is attached - I'll push it into unstable if nobody cries too hard. Next up, KFB suspend / resume support and I2C suspend/resume. Jordan -- -- Jordan Crouse Senior Linux Engineer Advanced Micro Devices, Inc. <www.amd.com/embeddedprocessors>
diff --git a/arch/i386/kernel/geode.c b/arch/i386/kernel/geode.c index 9ee54b6..2e6ec95 100644 --- a/arch/i386/kernel/geode.c +++ b/arch/i386/kernel/geode.c <at> <at> -1,5 +1,5 <at> <at> /* AMD Geode southbridge support code(Continue reading)
Mitch
RSS Feed