]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 17 Aug 2011 21:32:57 +0000 (23:32 +0200)
commitaf0fa9cb7923ad65da11a71cef89fc4860fb618a
tree2c91d18d5e1551cceb357ffbc6439ce7861ed1d3
parenta20831905e0e625d87612896e28382143f2680fc
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