]> git.baikalelectronics.ru Git - kernel.git/commit
s390/unwind: correct stack switching during unwind
authorVasily Gorbik <gor@linux.ibm.com>
Thu, 6 Jun 2019 14:58:45 +0000 (16:58 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 7 Jun 2019 13:20:44 +0000 (15:20 +0200)
commite9cbe38cc19f43dc4e2bd627fcb000b6049e27a1
tree570e93f72c416403b352d38128ce45dbca408d7c
parent036e5edd925473ddceef0a9a52b79a8fdc6a61f9
s390/unwind: correct stack switching during unwind

Adjust conditions in on_stack function. That fixes backchain unwinder
which was unable to read pt_regs at the very bottom of the stack and
hence couldn't follow stacks (e.g. from async stack to a task stack).

Fixes: ef2ec76e0480 ("s390/unwind: introduce stack unwind API")
Reported-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/stacktrace.h