Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214358

[PATCH 0/3] PM / hibernate: Fix hibernation panic caused by inconsistent e820 memory map

From Chen Yu <yu.c.chen@intel.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] PM / hibernate: Fix hibernation panic caused by inconsistent e820 memory map
Date 2015-08-27 09:10 +0200
Message-ID <q1ZtT-5E6-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patchset is mainly to fix a hibernation panic caused by
BIOS's inconsistent e820 memory map. It is unlikely that the BIOS
will be fixed one by one, as this panic is seen on multiple machines
in field already.

This patchset is composed of 3 sub patches:

patch 1 is to remove E820_RESERVED_KERN region from kernel that,
the resuming will not fail because of non-page-aligned regions brought
by E820_RESERVED_KERN. This patch is the base of patch 2 and patch 3.

patch 2 is the core patch that fixes the hibernation panic, by checking
each page frame's validation during resuming. This patch was once merged
but reverted due to regression described in patch 1.

patch 3 is to ensure that, system with larger memory size compared to the
one before hibernation, will get the permission to resume.
Please refer to the changelog in patch 3 for detail.

Chen Yu (1):
  PM / hibernate: Remove the restriction when checking memory size
    before/after hibernation

Lee, Chun-Yi (1):
  PM / hibernate: avoid unsafe pages in e820 reserved regions

Yinghai Lu (1):
  x86: Kill E820_RESERVED_KERN

 arch/x86/include/uapi/asm/e820.h |  8 --------
 arch/x86/kernel/e820.c           |  6 ++----
 arch/x86/kernel/setup.c          | 25 -------------------------
 arch/x86/kernel/tboot.c          |  3 +--
 arch/x86/mm/init_64.c            | 11 ++++-------
 kernel/power/snapshot.c          | 29 ++++++++++++++++++++++++++---
 6 files changed, 33 insertions(+), 49 deletions(-)

-- 
1.8.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] PM / hibernate: Fix hibernation panic caused by inconsistent e820 memory map Chen Yu <yu.c.chen@intel.com> - 2015-08-27 09:10 +0200
  [PATCH 1/3] x86: Kill E820_RESERVED_KERN Chen Yu <yu.c.chen@intel.com> - 2015-08-27 09:10 +0200
  [PATCH 3/3] PM / hibernate: Remove the restriction when checking memory size before/after hibernation Chen Yu <yu.c.chen@intel.com> - 2015-08-27 09:10 +0200
    Re: [PATCH 3/3] PM / hibernate: Remove the restriction when checking  memory size before/after hibernation Ingo Molnar <mingo@kernel.org> - 2015-08-28 07:40 +0200
      RE: [PATCH 3/3] PM / hibernate: Remove the restriction when  checking memory size before/after hibernation "Chen, Yu C" <yu.c.chen@intel.com> - 2015-09-01 12:00 +0200

csiph-web