]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite762a6aef8a1ef0e0a7325b70fca6db2a86471da
tree12cd882c098517e8906f997fbfd1806504422ddc
parentcff7bee2e36b58a8f28a1df540172fb395d7123a
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 ff41f0281bfa ("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