On Thu, Sep 30, 2010 at 01:08:07PM -0700, Daniel Walker wrote: > That's actually what I had original, Russell offered this as an > alternative. Now that I think about the stubs tho, I'm not sure it's > that bad an idea. All the stubs would do is not put the core into a > lower powermode, but would allow suspend. It wouldn't be very > efficient , but suspend would work. If you just provide empty stubs, esp. for platform_cpu_die(), then an attempt to take a CPU offline will result in it immediately restarting back into the kernel - which will probably result in an oops as the kernel won't be expecting the CPU to come back. If you make them spin, you'll eat power until the system powers them off. As things currently stand though, we don't have enough code out of the init sections to allow a SMP restart from power-off. So, S2RAM isn't going to work on secondary processors at the moment _anyway_. Current CPU hotplug implementations are based around taking CPUs offline without powering them off for run-time power saving only. I have been working on a set of patches recently to reorganize the various head.S code to allow SMP restart from a CPU power-down, which is almost ready. -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html