Okay, had a long talk with mpee and benh on IRC, where a few things came out of it:
1) This is absolutely an upstream kernel bug.
2) This code probably doesn't work on anything newer than a G5 *anyway*, even if they fix that one line.
Given those two points, the conclusion we came to is that we should disable CONFIG_HIBERNATION for ppc64el, and they'll backburner an item to some day see if they can make hibernation work on modern POWER CPUs, but no one sees that as critical.
I did a testbuild on ppc64el with CONFIG_HIBERNATION=n, and that worked fine, so that's what we should do for now.
Okay, had a long talk with mpee and benh on IRC, where a few things came out of it:
1) This is absolutely an upstream kernel bug.
2) This code probably doesn't work on anything newer than a G5 *anyway*, even if they fix that one line.
Given those two points, the conclusion we came to is that we should disable CONFIG_HIBERNATION for ppc64el, and they'll backburner an item to some day see if they can make hibernation work on modern POWER CPUs, but no one sees that as critical.
I did a testbuild on ppc64el with CONFIG_ HIBERNATION= n, and that worked fine, so that's what we should do for now.