On Fri, 10 Jun 2011, Russell King - ARM Linux wrote: [ ... ] > What's the point when platform code has *ALREADY* to call these functions? > > Is it really too sodding difficult for platforms to do: > > my_suspend_hook() > { > mach_pre_suspend_hook(); > cpu_suspend(); > mach_post_suspend_hook(); > } > > ? > > <not read the rest of the message, this is getting idiotic> > Sorry for being unclear. Yes, they already have to do all this. And they should. Except for one thing: They all, IN ADDITION, do ALSO: wfi(); /* or whatever else to power down */ For Hibernation, _THAT_ needs to be out of the codepath. So that one can snapshot without powering down. FrankH. _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm