On Tue, Apr 15, 2014 at 11:34:52AM -0700, Sebastian Capella wrote:
Ping..
There appears to be disagreement on the correct path to take on this.
Pavel and Alan recommend that arm's machine_power_off shall never return
Russell suggests hibernation be modified to handle machine_power_off returning; that x86 architecture (and others as well) can have machine_power_off returning.
Discussions available at the links below: https://lkml.org/lkml/2014/3/25/554 -- linux-arm discussion https://lkml.org/lkml/2014/3/20/649 -- linux-pm discussion
Should I continue with the original hibernation patch from the linux-pm discussion?
Does anyone have any response to Russel's commentsl?
What I'm basically saying is that I see no reason for ARM to do something different to what x86 does.
What is pretty clear to me is that ARM is compatible with x86, which is compatible with kernel/reboot.c, and it's the hibernate code which is the odd one out.