]> git.baikalelectronics.ru Git - kernel.git/commit
s390/kexec: set end-of-ipl flag in last diag308 call
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Fri, 3 Sep 2021 09:08:48 +0000 (11:08 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 25 Apr 2022 11:54:12 +0000 (13:54 +0200)
commit7ce10dbe430c652aa63c297492f6607073ddfd1a
treea2ab5eb17592f217dc2e23bf47b5eeeb54bcd564
parent9f333cb6755b49c4d95aa1ebb4ffde4cf73a67a2
s390/kexec: set end-of-ipl flag in last diag308 call

If the facility IPL-complete-control is present then the last diag308
call made by kexec shall set the end-of-ipl flag in the subcode register
to signal the hypervisor that this is the last diag308 call made by Linux.
Only the diag308 calls made during a regular kexec need to set
the end-of-ipl flag, in all other cases the hypervisor will ignore it.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ipl.h
arch/s390/kernel/machine_kexec.c
arch/s390/kernel/relocate_kernel.S