s390/ipl: use load normal for LPAR re-ipl
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 10 Jun 2016 10:36:50 +0000 (12:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 13 Jun 2016 13:58:26 +0000 (15:58 +0200)
commit0f7451ff3ab88507fcffc72a5b7e1c211523a34e
tree405c76f5ea7e6963d81e56d164214a5947a78b4e
parent6c22c98637602f89beb40c43cfb3d764b71a54c6
s390/ipl: use load normal for LPAR re-ipl

Avoid clearing memory for CCW-type re-ipl within a logical
partition. This can save a significant amount of time if a logical
partition contains a lot of memory.

On the other hand we still clear memory if running within a second
level hypervisor, since the hypervisor can simply free all memory that
was used for the guest.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/ipl.c