Re: [PATCH 0/2] Use hibernate callbacks when shutting down the system
From: Álvaro Martín
Date: Mon Nov 30 2026 - 04:55:29 EST
Hi Mario,
I tested this series on an HP OMEN 16-c0xxx (board 8902, BIOS F.27,
Ryzen 7 5800H + Radeon RX 6600M).
The test machine has the dGPU behind \_SB.PCI0.GPP0 -> SWUS -> SWDS. The
dGPU (03:00.0) was bound to amdgpu and the Wi-Fi device (05:00.0) to
rtw89_8852ae during both runs.
I built 7.4-rc3 with this series applied and booted the same kernel image
twice: once using the new default path, and once with shutdown=legacy.
Battery energy was measured before shutdown and after the next boot.
Setup note: iommu=pt was required on this machine because 7.4-rc3 fails
to probe the dGPU with the default IOMMU translation mode
(IO_PAGE_FAULT followed by "PSP load kdb failed"). That is a separate
amdgpu issue and was identical in both runs.
Results:
- New default path:
power-off duration: 97660 s (27 h 7 min 40 s)
battery energy: 67.766 Wh -> 67.766 Wh
measured drain: 0.000 Wh (no change at the reported resolution)
- shutdown=legacy:
power-off duration: 46364 s (12 h 52 min 44 s)
battery energy: 67.766 Wh -> 62.682 Wh
measured drain: 5.084 Wh
average power draw while off: approximately 395 mW
Assuming a constant average power draw, the legacy path would have
drained approximately 10.7 Wh over the duration of the new-path test.
Both runs shut down cleanly and booted normally afterwards. No shutdown
hang was observed, and lspci -k showed the dGPU and Wi-Fi device still
bound to amdgpu and rtw89_8852ae after the next boot. pstore was empty
after both clean shutdowns.
Tested-by: Álvaro Martín <alvaromartinrdr@xxxxxxxxx>
Thanks,
Álvaro