]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/entry: Unify save_area_sync and save_area_async
authorSven Schnelle <svens@linux.ibm.com>
Wed, 28 Aug 2024 11:50:04 +0000 (13:50 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 29 Aug 2024 20:56:34 +0000 (22:56 +0200)
commitee3daf7c05e70a0b88723ceb18587aed75716729
treea3d063aab38a6ee36649009b2ec31c93244638d7
parent56199bb956c3ea82e39c72d2972ebf8c18c6a8c0
s390/entry: Unify save_area_sync and save_area_async

In the past two save areas existed because interrupt handlers
and system call / program check handlers where entered with
interrupts enabled. To prevent a handler from overwriting the
save areas from the previous handler, interrupts used the async
save area, while system call and program check handler used the
sync save area.

Since the removal of critical section cleanup from entry.S, handlers are
entered with interrupts disabled. When the interrupts are re-enabled,
the save area is no longer need. Therefore merge both save areas into one.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/head.S
arch/s390/include/asm/lowcore.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/entry.S