On Tue, Dec 12, 2017 at 10:36 AM, Linus TorvaldsI tested with "rtcwake -s 5 -m mem" 2-3 times on a real machine. Both 64-bit and 32-bit work.
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
On Tue, Dec 12, 2017 at 10:05 AM, Andy Lutomirski <luto@xxxxxxxxxx> wrote:Like this?
https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=x86/fixes&id=cb855aa9679a15adbe43732f5854270de2b35856
I've barely tested it. It suspended and resumed once in a 64-bit VM.
It compiles on 32-bit.