]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/stacktrace: fix address ranges for asynchronous and panic stack
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 1 Feb 2016 09:13:05 +0000 (10:13 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Feb 2016 08:25:20 +0000 (09:25 +0100)
commit9900c48c46d8bcf497972024c5fe366e6d9771f3
treef4e70da439a307524df54841414af77fbd70b36f
parent665ca9187c4087736fa57b0e00bcf33ea601fb6f
s390/stacktrace: fix address ranges for asynchronous and panic stack

git commit dc7ee00d4771 ("s390: lowcore stack pointer offsets")
introduced a regression in regard to save_stack_trace(). The stack
pointer for the asynchronous and the panic stack in the lowcore now
have an additional offset applied to them. This offset needs to be
taken into account in the calculation for the low and high address for
the stacks.

This bug was already partially fixed with 9cc5c206d9b4
("s390/dumpstack: fix address ranges for asynchronous and panic
stack"). This patch fixes it also for the stacktrace code.

Fixes: dc7ee00d4771 ("s390: lowcore stack pointer offsets")
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Tested-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/stacktrace.c