PM / Hibernate: Include storage keys in hibernation image on s390
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 17 Aug 2011 18:42:24 +0000 (20:42 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 16 Oct 2011 21:27:46 +0000 (23:27 +0200)
commit85055dd805f0822f13f736bee2a521e222c38293
treeedbad90395fc7471732edfb5372adcd7e55e791b
parentca123102f69fb260221502ade9bbc069290fae84
PM / Hibernate: Include storage keys in hibernation image on s390

For s390 there is one additional byte associated with each page,
the storage key. This byte contains the referenced and changed
bits and needs to be included into the hibernation image.
If the storage keys are not restored to their previous state all
original pages would appear to be dirty. This can cause
inconsistencies e.g. with read-only filesystems.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/s390/Kconfig
arch/s390/kernel/suspend.c
arch/s390/kernel/swsusp_asm64.S
include/linux/suspend.h
kernel/power/Kconfig
kernel/power/snapshot.c