s390/stack: add union to reflect kvm stack slot usages
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 30 May 2022 12:20:50 +0000 (14:20 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 1 Jun 2022 10:03:17 +0000 (12:03 +0200)
commite0ffcf3fe18e0310221461c08969edec2cc7628c
tree12cd882c098517e8906f997fbfd1806504422ddc
parentf037acb41dc9fc0f00521685b3250226d6f9b437
s390/stack: add union to reflect kvm stack slot usages

Add a union which describes how the empty stack slots are being used
by kvm and perf. This should help to avoid another bug like the one
which was fixed with commit c9bfb460c3e4 ("s390/perf: obtain sie_block
from the right address").

Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
Tested-by: Nico Boehr <nrb@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/stacktrace.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/perf_event.c