diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2018-08-07 19:57:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-05 10:26:40 +0300 |
commit | 9fae74e9a44141e8061965505ee8c66881bd6c57 (patch) | |
tree | 8ceedcadb81071ae67fd412f8032e9a9dc33da2d /arch/s390/Kbuild | |
parent | bbcbaf56ff4b677974d8bb3dd67a134f61055dd1 (diff) | |
download | linux-9fae74e9a44141e8061965505ee8c66881bd6c57.tar.xz |
s390/mm: fix addressing exception after suspend/resume
commit 37a366face294facb9c9d9fdd9f5b64a27456cbd upstream.
Commit c9b5ad546e7d "s390/mm: tag normal pages vs pages used in page tables"
accidentally changed the logic in arch_set_page_states(), which is used by
the suspend/resume code. set_page_stable(page, order) was changed to
set_page_stable_dat(page, 0). After this, only the first page of higher order
pages will be set to stable, and a write to one of the unstable pages will
result in an addressing exception.
Fix this by using "order" again, instead of "0".
Fixes: c9b5ad546e7d ("s390/mm: tag normal pages vs pages used in page tables")
Cc: stable@vger.kernel.org # 4.14+
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/Kbuild')
0 files changed, 0 insertions, 0 deletions