]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/suspend: fix stack setup in swsusp_arch_suspend
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 17 Jan 2019 10:20:28 +0000 (11:20 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 28 Jan 2019 14:43:17 +0000 (15:43 +0100)
commit634692ab7007e8e3fec758ab0b26e65abf7c79e0
treec8bd0c65d31760b611adf412c7923c7f63f3b5ad
parentf17b5f06cb92ef2250513a1e154c47b78df07d40
s390/suspend: fix stack setup in swsusp_arch_suspend

The patch that added support for the virtually mapped kernel stacks changed
swsusp_arch_suspend to switch to the nodat-stack as the vmap stack is not
available while going in and out of suspend.

Unfortunately the switch to the nodat-stack is incorrect which breaks
suspend to disk.

Cc: stable@vger.kernel.org # v4.20
Fixes: ce3dc447493f ("s390: add support for virtually mapped kernel stacks")
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/swsusp.S