Re: [PATCH 0/7] arm64: hibernate: dust off the suspend/cleanup rework
From: Ard Biesheuvel
Date: Fri Aug 28 2026 - 06:33:59 EST
Hi Bradley,
On Tue, 25 Aug 2026, at 22:58, Bradley Morgan wrote:
> Everything object compiles and passes checkpatch and sparse. I could not
> boot or run a hibernate cycle on real hardware here, so that still wants
> doing before anyone gets excited.
>
You can easily test hibernate under QEMU/mach-virt: just create a file on
the host, mkswap it and pass it to the VM as a virtio drive (e.g., /dev/vda)
You can then swapon it in the VM and do 'echo disk >/sys/power/state', which
will perform the hibernate and exit QEMU. If you then restart it with
'resume=/dev/vda' on the command line, it will perform the resume from
hibernate at boot.
I've had a go with your series on a NV capable system (Mac Mini M2). Without
the series applied, I can hibernate and resume 4 vCPUs without issue, so it
is not entirely clear to me what your series intends to fix.
With the series applied resume from hibernate still works - I did see one
intermittent failure where the secondaries failed to come up, but I only
saw it once and so I cannot say for certain whether your series triggered
it or not.
Tested-by: Ard Biesheuvel <ardb@xxxxxxxxxx>