]> 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)
commited1e91b5f618284b8027ecc339122ae8e8b649b4
tree570e93f72c416403b352d38128ce45dbca408d7c
parent57d1147c4b61bf6a8194d892825cca01f6e5f861
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: b8e51ac199f1 ("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