diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2013-04-04 19:49:53 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-04-15 13:34:44 +0200 |
commit | b66ac63e20b3f4d7931e67c986956aa5ffbea57f (patch) | |
tree | f0da72ef98032f4606f9938d9c6eef56b519b6e2 /arch/s390/mm | |
parent | 41ef2d5678d83af030125550329b6ae8b74618fa (diff) | |
download | op-kernel-dev-b66ac63e20b3f4d7931e67c986956aa5ffbea57f.zip op-kernel-dev-b66ac63e20b3f4d7931e67c986956aa5ffbea57f.tar.gz |
s390/kdump: Add PM notifier for kdump
For s390 the page table mapping for the crashkernel memory is removed to
protect the pre-loaded kdump kernel and ramdisk. Because the crashkernel
memory is not included in the page tables for suspend/resume it is not
included in the suspend image. Therefore after resume the resumed system
does no longer contain the pre-loaded kdump kernel and when kdump is
triggered it fails.
This patch adds a PM notifier that creates the page tables before suspend
is done and removes them for resume. This ensures that the kdump kernel
is included in the suspend image.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm')
0 files changed, 0 insertions, 0 deletions