[PATCH 0/1] x86/power: only verify usable RAM regions during hibernation E820 check

From: Marco Scardovi

Date: Sat Jun 20 2026 - 04:16:31 EST


This patch addresses a hibernation resume regression on some UEFI platforms (such
as the HP OmniBook X Flip) where resume from hibernation fails with the error:
"Hibernate inconsistent memory map detected!"

The issue is triggered because the UEFI firmware or bootloader (like GRUB) makes
non-deterministic allocations or shifts ACPI/reserved memory regions across boots.
This changes the CRC32 checksum computed over the entire E820 table, even if the
usable system RAM layout remains completely identical and safe to restore.

We fix this by restricting the E820 map CRC32 calculation to only include entries
of type E820_TYPE_RAM. This maintains the check for system RAM safety while
preventing false-positive mismatches due to dynamic shifts in reserved and ACPI ranges.

Marco Scardovi (1):
x86/power: only verify usable RAM regions during hibernation E820
check

arch/x86/power/hibernate.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

--
2.54.0