]> git.baikalelectronics.ru Git - kernel.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>
Sun, 16 Oct 2011 21:27:46 +0000 (23:27 +0200)
commit4d4dc6f18fdd820c46c860d069cf400b20ab51e8
treeedbad90395fc7471732edfb5372adcd7e55e791b
parentfc020338c3759c1b3c6df7dd9a674f951d342e83
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