From: Chen Yu <yu.c.chen@intel.com>
To: tglx@linutronix.de, mingo@redhat.com, rjw@rjwysocki.net,
pavel@ucw.cz, hpa@zytor.com
Cc: len.brown@intel.com, yinghai@kernel.org, joeyli.kernel@gmail.com,
rui.zhang@intel.com, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] PM / hibernate: Fix hibernation panic caused by inconsistent e820 memory map
Date: Thu, 27 Aug 2015 15:05:33 +0800 [thread overview]
Message-ID: <cover.1440640658.git.yu.c.chen@intel.com> (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
next reply other threads:[~2015-08-27 7:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 7:05 Chen Yu [this message]
2015-08-27 7:05 ` [PATCH 1/3] x86: Kill E820_RESERVED_KERN Chen Yu
2015-08-27 7:06 ` [PATCH 2/3] PM / hibernate: avoid unsafe pages in e820 reserved regions Chen Yu
2015-08-27 7:06 ` [PATCH 3/3] PM / hibernate: Remove the restriction when checking memory size before/after hibernation Chen Yu
2015-08-28 5:37 ` Ingo Molnar
2015-09-01 9:54 ` Chen, Yu C
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1440640658.git.yu.c.chen@intel.com \
--to=yu.c.chen@intel.com \
--cc=hpa@zytor.com \
--cc=joeyli.kernel@gmail.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pavel@ucw.cz \
--cc=rjw@rjwysocki.net \
--cc=rui.zhang@intel.com \
--cc=tglx@linutronix.de \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).