[PATCH 0/2][RFC] Introduce e820_table_ori to fix the memory inconsistent problem during hibernation

From: Chen Yu
Date: Sat Jun 17 2017 - 01:21:24 EST

This is a patch set to fix the issue found during hibernation restore that,
the MD5 fingerprint of the physical memory layout checking code has reported a
false-positive failure due to incorrect input from the e820 map.

Chen Yu (2):
x86/boot/e820: Introduce e820_table_ori to represent the real original
e820 layout
PM / hibernate: Utilize the original e820 map for consistent check

arch/x86/include/asm/e820/api.h | 1 +
arch/x86/kernel/e820.c | 24 ++++++++++++++++++++----
arch/x86/power/hibernate_64.c | 4 ++--
3 files changed, 23 insertions(+), 6 deletions(-)