]> 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)
commit9dc7f9ec62a326f9a34050c157879b6c57bf93b8
tree12cd882c098517e8906f997fbfd1806504422ddc
parent263ee17dd9763faddddc299cb3dbd23e9e35adb3
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 da1daf5d4bbd ("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