On Wed, Apr 16, 2014 at 09:57:18PM +0100, One Thousand Gnomes wrote:
I'd say scrap (a) _unless_ we're going to add while (1) loops to all the architectures. Alternatively, we could just accept that machine_power_off() may return and deal with that case (iow, not crash) in generic code.
What would the right behaviour be
while(1);
isn't really nice behaviour on a modern device
That's an entirely different question... one which also needs fixing in the hibernate code. We already know that cpu_relax() in there is a good thing to do, so that would be a good start.